public nextBase64(sizeBytes as Int) as String throws CryptoException:
Generates random data encoded as standard Base64.
| Parameter | Description |
|---|---|
sizeBytes | Number of random bytes to generate. |
Standard Base64 text.
import klyn.cryptography random = SecureRandom() print(random.nextBase64(16))