Index
Modules:
src/checksums/bcrypt
,
src/checksums/docutils
,
src/checksums/md5
,
src/checksums/private/sha_utils
,
src/checksums/sha1
,
src/checksums/sha2
,
src/checksums/sha3
.
API symbols
`$`:
bcrypt: proc `$`(s: Hash): string
bcrypt: proc `$`(s: Salt): string
bcrypt: proc `$`(s: SaltedHash): string
md5: proc `$`(d: MD5Digest): string
sha_utils: proc `$`[n: static[int]](digest: array[n, char]): string
sha1: proc `$`(self: SecureHash): string
`==`:
md5: proc `==`(D1, D2: MD5Digest): bool
sha1: proc `==`(a, b: SecureHash): bool
bcrypt:
bcrypt: proc bcrypt(password: openArray[char]; salt: Salt): SaltedHash
CompatUint64:
sha_utils: type CompatUint64
CostFactor:
bcrypt: type CostFactor
digest:
sha2: proc digest(state: var ShaState; dest: var openArray[char]): int
sha2: proc digest(state: var ShaStateStatic[Sha_224]): ShaDigest_224
sha2: proc digest(state: var ShaStateStatic[Sha_256]): ShaDigest_256
sha2: proc digest(state: var ShaStateStatic[Sha_384]): ShaDigest_384
sha2: proc digest(state: var ShaStateStatic[Sha_512]): ShaDigest_512
sha3: proc digest(state: var Sha3State; dest: var openArray[char]): int
sha3: proc digest(state: var Sha3StateStatic[Sha3_224]): Sha3Digest_224
sha3: proc digest(state: var Sha3StateStatic[Sha3_256]): Sha3Digest_256
sha3: proc digest(state: var Sha3StateStatic[Sha3_384]): Sha3Digest_384
sha3: proc digest(state: var Sha3StateStatic[Sha3_512]): Sha3Digest_512
digestLength:
sha2: proc digestLength(instance: ShaInstance): int
sha3: proc digestLength(instance: Sha3Instance): int
sha3: proc digestLength(instance: ShakeInstance): int
finalize:
sha1: proc finalize(ctx: var Sha1State): Sha1Digest
sha3: proc finalize(state: var ShakeState)
generateSalt:
bcrypt: proc generateSalt(cost: CostFactor): Salt
getMD5:
md5: proc getMD5(s: string): string
Hash:
bcrypt: type Hash
initSha:
sha2: proc initSha(instance: ShaInstance): ShaState
initSha_224:
sha2: proc initSha_224(): ShaStateStatic[Sha_224]
initSha_256:
sha2: proc initSha_256(): ShaStateStatic[Sha_256]
initSha3:
sha3: proc initSha3(instance: Sha3Instance): Sha3State
initSha3_224:
sha3: proc initSha3_224(): Sha3StateStatic[Sha3_224]
initSha3_256:
sha3: proc initSha3_256(): Sha3StateStatic[Sha3_256]
initSha3_384:
sha3: proc initSha3_384(): Sha3StateStatic[Sha3_384]
initSha3_512:
sha3: proc initSha3_512(): Sha3StateStatic[Sha3_512]
initSha_384:
sha2: proc initSha_384(): ShaStateStatic[Sha_384]
initSha3StateStatic:
sha3: proc initSha3StateStatic(instance: static Sha3Instance): Sha3StateStatic[instance]
initSha_512:
sha2: proc initSha_512(): ShaStateStatic[Sha_512]
initShake:
sha3: proc initShake(instance: ShakeInstance): ShakeState
initShaStateStatic:
sha2: proc initShaStateStatic(instance: static ShaInstance): ShaStateStatic[instance]
isValidSha1Hash:
sha1: proc isValidSha1Hash(s: string): bool
MD5Context:
md5: object MD5Context
MD5Digest:
md5: type MD5Digest
md5Final:
md5: proc md5Final(c: var MD5Context; digest: var MD5Digest)
md5Init:
md5: proc md5Init(c: var MD5Context)
md5Update:
md5: proc md5Update(c: var MD5Context; input: cstring; len: int)
md5: proc md5Update(c: var MD5Context; input: openArray[uint8])
newSha1State:
sha1: proc newSha1State(): Sha1State
parseSalt:
bcrypt: proc parseSalt(salt: string): Salt
parseSecureHash:
sha1: proc parseSecureHash(hash: string): SecureHash
Salt:
bcrypt: object Salt
SaltedHash:
bcrypt: tuple SaltedHash
SecureHash:
sha1: type SecureHash
secureHash:
sha1: proc secureHash(str: openArray[char]): SecureHash
sha2: proc secureHash(instance: ShaInstance; data: openArray[char]): seq[char]
sha2: proc secureHash(instance: static ShaInstance; data: openArray[char]): auto
sha3: proc secureHash(instance: Sha3Instance; data: openArray[char]): seq[char]
sha3: proc secureHash(instance: static Sha3Instance; data: openArray[char]): auto
secureHashFile:
sha1: proc secureHashFile(filename: string): SecureHash
Sha1Digest:
sha1: type Sha1Digest
Sha1State:
sha1: object Sha1State
Sha_224:
sha2: ShaInstance.Sha_224
Sha_256:
sha2: ShaInstance.Sha_256
Sha3_224:
sha3: Sha3Instance.Sha3_224
Sha3_256:
sha3: Sha3Instance.Sha3_256
Sha3_384:
sha3: Sha3Instance.Sha3_384
Sha3_512:
sha3: Sha3Instance.Sha3_512
Sha_384:
sha2: ShaInstance.Sha_384
Sha3Digest_224:
sha3: type Sha3Digest_224
Sha3Digest_256:
sha3: type Sha3Digest_256
Sha3Digest_384:
sha3: type Sha3Digest_384
Sha3Digest_512:
sha3: type Sha3Digest_512
Sha3Instance:
sha3: enum Sha3Instance
Sha3State:
sha3: type Sha3State
Sha3StateStatic:
sha3: type Sha3StateStatic
Sha_512:
sha2: ShaInstance.Sha_512
ShaDigest_224:
sha2: type ShaDigest_224
ShaDigest_256:
sha2: type ShaDigest_256
ShaDigest_384:
sha2: type ShaDigest_384
ShaDigest_512:
sha2: type ShaDigest_512
ShaInstance:
sha2: enum ShaInstance
Shake128:
sha3: ShakeInstance.Shake128
Shake256:
sha3: ShakeInstance.Shake256
Shake512:
sha3: ShakeInstance.Shake512
ShakeInstance:
sha3: enum ShakeInstance
shakeOut:
sha3: proc shakeOut(state: var ShakeState; dest: var openArray[char])
ShakeState:
sha3: type ShakeState
ShaState:
sha2: type ShaState
ShaStateStatic:
sha2: type ShaStateStatic
toMD5:
md5: proc toMD5(s: string): MD5Digest
update:
sha1: proc update(ctx: var Sha1State; data: openArray[char])
sha2: proc update(state: var ShaState; data: openArray[char])
sha2: proc update[instance: static ShaInstance](state: var ShaStateStatic[instance]; data: openArray[char])
sha3: proc update(state: var Sha3State; data: openArray[char])
sha3: proc update[instance: static Sha3Instance](state: var Sha3StateStatic[instance]; data: openArray[char])
sha3: proc update(state: var ShakeState; data: openArray[char])
verify:
bcrypt: proc verify(password: openArray[char]; knownGood: string): bool