Plaintext encipher/decipher module
- Source:
Methods
(static) decode() → {Promise.<String>}
Function to decode a given base64 encoded string
Properties:
Name | Type | Description |
---|---|---|
plaintext |
String | base64 encoded cipher text |
- Source:
Returns:
promise that resolves with plaintext
- Type
- Promise.<String>
Example
decode(cipherText).then((plainText) => ...)