-
public final class EnvKryptKt
-
-
Method Summary
Modifier and Type Method Description final static UnitcryptBlocksMutable(StreamCipherProvider cipherProvider, ByteArray cipherKey, Long basicIV, Long address, ByteArray bytes, Integer offset, Integer length, Integer alignment)Crypts byte array in-place by blocks of length alignment.final static ByteArraycryptBlocksImmutable(StreamCipherProvider cipherProvider, ByteArray cipherKey, Long basicIV, Long address, ByteArray bytes, Integer offset, Integer length, Integer alignment)Crypts immutable byte array by blocks of length alignment.final static LongasHashedIV(Long $self)-
-
Method Detail
-
cryptBlocksMutable
final static Unit cryptBlocksMutable(StreamCipherProvider cipherProvider, ByteArray cipherKey, Long basicIV, Long address, ByteArray bytes, Integer offset, Integer length, Integer 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.
-
cryptBlocksImmutable
final static ByteArray cryptBlocksImmutable(StreamCipherProvider cipherProvider, ByteArray cipherKey, Long basicIV, Long address, ByteArray bytes, Integer offset, Integer length, Integer alignment)
Crypts immutable byte array by blocks of length
alignment.
-
asHashedIV
final static Long asHashedIV(Long $self)
-
-
-
-