public class EnvKryptKt
| Modifier and Type | Method and Description |
|---|---|
static long |
asHashedIV(long $receiver) |
static byte[] |
cryptBlocksImmutable(jetbrains.exodus.crypto.StreamCipherProvider cipherProvider,
byte[] cipherKey,
long basicIV,
long address,
byte[] bytes,
int offset,
int length,
int alignment)
Crypts immutable byte array by blocks of length
alignment. |
static void |
cryptBlocksMutable(jetbrains.exodus.crypto.StreamCipherProvider cipherProvider,
byte[] cipherKey,
long basicIV,
long address,
byte[] bytes,
int offset,
int length,
int alignment)
Crypts byte array in-place by blocks of length
alignment.
Can be applied only to byte arrays which cannot be re-used for reading. |
public static void cryptBlocksMutable(jetbrains.exodus.crypto.StreamCipherProvider cipherProvider,
byte[] cipherKey,
long basicIV,
long address,
byte[] bytes,
int offset,
int length,
int alignment)
Crypts byte array in-place by blocks of length alignment.
Can be applied only to byte arrays which cannot be re-used for reading.
public static byte[] cryptBlocksImmutable(jetbrains.exodus.crypto.StreamCipherProvider cipherProvider,
byte[] cipherKey,
long basicIV,
long address,
byte[] bytes,
int offset,
int length,
int alignment)
Crypts immutable byte array by blocks of length alignment.
public static long asHashedIV(long $receiver)