[][src]Module cryptohelpers::consts

Constants used throughout

Notes

Probably best to not change these unless you know what you're doing.

Constants

AES_IVSIZE

Aes IV size in bytes

AES_KEYSIZE

Aes key size in bytes

BUFFER_SIZE

Default buffer size for most things

PASSWORD_KEYSIZE

Password keysize

PASSWORD_ROUNDS

Password rounds

PASSWORD_SALTSIZE

Password saltsize

RSA_KEY_BITS

The number of bits used for RSA key

RSA_PADDING

The padding used for RSA operations

RSA_PADDING_NEEDS

The number of bytes the RSA padding requires

RSA_SIG_SIZE

Size of an RSA signature

SHA256_SIZE

Size of SHA256 hash checksum in bytes