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) |
byte [] | getSecureRandomBytes (int length) |
Definition at line 185 of file CryptoLib.cs.
IXICore.CryptoLib.CryptoLib | ( | ICryptoLib | crypto_lib | ) |
Definition at line 189 of file CryptoLib.cs.
byte [] IXICore.CryptoLib.decryptDataAES | ( | byte [] | input, |
byte [] | key, | ||
int | offset = 0 |
||
) |
Definition at line 225 of file CryptoLib.cs.
byte [] IXICore.CryptoLib.decryptWithChacha | ( | byte [] | input, |
byte [] | key | ||
) |
Definition at line 245 of file CryptoLib.cs.
byte [] IXICore.CryptoLib.decryptWithPassword | ( | byte [] | data, |
string | password | ||
) |
Definition at line 235 of file CryptoLib.cs.
byte [] IXICore.CryptoLib.decryptWithRSA | ( | byte [] | input, |
byte [] | privateKey | ||
) |
Definition at line 215 of file CryptoLib.cs.
byte [] IXICore.CryptoLib.encryptDataAES | ( | byte [] | input, |
byte [] | key | ||
) |
Definition at line 220 of file CryptoLib.cs.
byte [] IXICore.CryptoLib.encryptWithChacha | ( | byte [] | input, |
byte [] | key | ||
) |
Definition at line 240 of file CryptoLib.cs.
byte [] IXICore.CryptoLib.encryptWithPassword | ( | byte [] | data, |
string | password | ||
) |
Definition at line 230 of file CryptoLib.cs.
byte [] IXICore.CryptoLib.encryptWithRSA | ( | byte [] | input, |
byte [] | publicKey | ||
) |
Definition at line 210 of file CryptoLib.cs.
byte [] IXICore.CryptoLib.generateChildKey | ( | byte [] | parentKey, |
int | seed = 0 |
||
) |
Definition at line 250 of file CryptoLib.cs.
IxianKeyPair IXICore.CryptoLib.generateKeys | ( | int | keySize, |
bool | skip_header = false |
||
) |
Definition at line 194 of file CryptoLib.cs.
byte [] IXICore.CryptoLib.getSecureRandomBytes | ( | int | length | ) |
Definition at line 260 of file CryptoLib.cs.
byte [] IXICore.CryptoLib.getSignature | ( | byte [] | input, |
byte [] | privateKey | ||
) |
Definition at line 200 of file CryptoLib.cs.
bool IXICore.CryptoLib.testKeys | ( | byte [] | plaintext, |
IxianKeyPair | kp | ||
) |
Definition at line 255 of file CryptoLib.cs.
bool IXICore.CryptoLib.verifySignature | ( | byte [] | input, |
byte [] | publicKey, | ||
byte [] | signature | ||
) |
Definition at line 205 of file CryptoLib.cs.