Skip to content

Classes and interfaces: Cryptosystem

monicanagent edited this page Nov 6, 2014 · 1 revision

Project file: /Libraries/P2P3/CryptoWorker/CryptoWorker.as3proj

The following classes form the core of the extended SRA cryptosystem encapsulated in a concurrent process (Worker). Although the cryptosystem may be used in a non-concurrent process, this is likely to produce a script timeout exception at high CB lengths and is therefore not recommended.

The compiled cryptosystem is required by a number of parent modules and will cause compile-time errors if missing or corrupted.

IMPORTANT: An undocumented problem exists when compiling Workers in debug mode so be sure to select "Release" from the configuration pulldown at the top of the FlashDevelop window before compiling.

CLASSES

Main.as - /Libraries/P2P3/CryptoWorker/src/crypto/Main.as

RNG - /Libraries/P2P3/CryptoWorker/src/crypto/RNG.as

BigInt - /Libraries/P2P3/CryptoWorker/src/crypto/math/BigInt.as

EulerTotient - /Libraries/P2P3/CryptoWorker/src/crypto/math/EulerTotient.as

CryptoWorkerCommand - /Libraries/P2P3/P2P3E/src/p2p3/workers/CryptoWorkerCommand.as

WorkerMessage - /Libraries/P2P3/P2P3E/src/p2p3/workers/WorkerMessage.as

ISRAKey - /Libraries/P2P3/CryptoWorker/src/crypto/interfaces/ISRAKey.as

SRAKey - /Libraries/P2P3/CryptoWorker/src/crypto/SRAKey.as

SRA - /Libraries/P2P3/CryptoWorker/src/crypto/SRA.as

Clone this wiki locally