public class OneTimePadEncryptor extends Object
Modifier and Type | Class and Description |
---|---|
static class |
OneTimePadEncryptor.Result |
Constructor and Description |
---|
OneTimePadEncryptor() |
Modifier and Type | Method and Description |
---|---|
byte[] |
decrypt(byte[] encryptedMessage,
byte[] randomKey) |
OneTimePadEncryptor.Result |
encrypt(byte[] message) |
public OneTimePadEncryptor()
public OneTimePadEncryptor.Result encrypt(byte[] message)
public byte[] decrypt(byte[] encryptedMessage, byte[] randomKey)
Copyright © 2013–2019. All rights reserved.