Public Member Functions | |
CryptoLib (ICryptoLib crypto_lib) | |
IxianKeyPair | generateKeys (int keySize, bool skip_header=false) |
byte [] | getSignature (byte[] input, byte[] privateKey) |
bool | verifySignature (byte[] input, byte[] publicKey, byte[] signature) |
byte [] | encryptWithRSA (byte[] input, byte[] publicKey) |
byte [] | decryptWithRSA (byte[] input, byte[] privateKey) |
byte [] | encryptDataAES (byte[] input, byte[] key) |
byte [] | decryptDataAES (byte[] input, byte[] key, int offset=0) |
byte [] | encryptWithPassword (byte[] data, string password) |
byte [] | decryptWithPassword (byte[] data, string password) |
byte [] | encryptWithChacha (byte[] input, byte[] key) |
byte [] | decryptWithChacha (byte[] input, byte[] key) |
byte [] | generateChildKey (byte[] parentKey, int seed=0) |
bool | testKeys (byte[] plaintext, IxianKeyPair kp) |
Definition at line 177 of file CryptoLib.cs.
DLT.CryptoLib.CryptoLib | ( | ICryptoLib | crypto_lib | ) |
Definition at line 181 of file CryptoLib.cs.
byte [] DLT.CryptoLib.decryptDataAES | ( | byte [] | input, |
byte [] | key, | ||
int | offset = 0 |
||
) |
Definition at line 217 of file CryptoLib.cs.
byte [] DLT.CryptoLib.decryptWithChacha | ( | byte [] | input, |
byte [] | key | ||
) |
Definition at line 237 of file CryptoLib.cs.
byte [] DLT.CryptoLib.decryptWithPassword | ( | byte [] | data, |
string | password | ||
) |
Definition at line 227 of file CryptoLib.cs.
byte [] DLT.CryptoLib.decryptWithRSA | ( | byte [] | input, |
byte [] | privateKey | ||
) |
Definition at line 207 of file CryptoLib.cs.
byte [] DLT.CryptoLib.encryptDataAES | ( | byte [] | input, |
byte [] | key | ||
) |
Definition at line 212 of file CryptoLib.cs.
byte [] DLT.CryptoLib.encryptWithChacha | ( | byte [] | input, |
byte [] | key | ||
) |
Definition at line 232 of file CryptoLib.cs.
byte [] DLT.CryptoLib.encryptWithPassword | ( | byte [] | data, |
string | password | ||
) |
Definition at line 222 of file CryptoLib.cs.
byte [] DLT.CryptoLib.encryptWithRSA | ( | byte [] | input, |
byte [] | publicKey | ||
) |
Definition at line 202 of file CryptoLib.cs.
byte [] DLT.CryptoLib.generateChildKey | ( | byte [] | parentKey, |
int | seed = 0 |
||
) |
Definition at line 242 of file CryptoLib.cs.
IxianKeyPair DLT.CryptoLib.generateKeys | ( | int | keySize, |
bool | skip_header = false |
||
) |
Definition at line 186 of file CryptoLib.cs.
byte [] DLT.CryptoLib.getSignature | ( | byte [] | input, |
byte [] | privateKey | ||
) |
Definition at line 192 of file CryptoLib.cs.
bool DLT.CryptoLib.testKeys | ( | byte [] | plaintext, |
IxianKeyPair | kp | ||
) |
Definition at line 247 of file CryptoLib.cs.
bool DLT.CryptoLib.verifySignature | ( | byte [] | input, |
byte [] | publicKey, | ||
byte [] | signature | ||
) |
Definition at line 197 of file CryptoLib.cs.