UNPKG

rsa-oaep-encryption

Version:

Pure JavaScript implementation of encryption using the RSA-OAEP algorithm without relying on the Web Crypto API.

35 lines (24 loc) 1 kB
**rsa-oaep-encryption** *** # rsa-oaep-encryption ## Classes | Class | Description | | ------ | ------ | | [ByteStringBuffer](classes/ByteStringBuffer.md) | Constructor for a binary string backed byte buffer. | ## Interfaces | Interface | Description | | ------ | ------ | | [HashAlgorithm](interfaces/HashAlgorithm.md) | A hash algorithm. | | [HashAlgorithmCreator](interfaces/HashAlgorithmCreator.md) | A hash algorithm creator. | | [RSAPublicKey](interfaces/RSAPublicKey.md) | RSA public key. | ## Variables | Variable | Description | | ------ | ------ | | [sha1](variables/sha1.md) | SHA-1 algorithm creator. | | [sha256](variables/sha256.md) | SHA-256 algorithm creator. | | [sha384](variables/sha384.md) | SHA-384 algorithm creator. | | [sha512](variables/sha512.md) | SHA-512 algorithm creator. | ## Functions | Function | Description | | ------ | ------ | | [importPublicKey](functions/importPublicKey.md) | Import a RSA public key from a PEM format string. Used to encrypt data. |