Hash overview
Added in v1.0.0
Table of contents
brands
MD4
Signature
export declare const MD4: t.BrandC<t.StringC, MD4Brand>
Added in v1.0.0
MD5
Signature
export declare const MD5: t.BrandC<t.StringC, MD5Brand>
Added in v1.0.0
SHA1
Signature
export declare const SHA1: t.BrandC<t.StringC, SHA1Brand>
Added in v1.0.0
SHA256
Signature
export declare const SHA256: t.BrandC<t.StringC, SHA256Brand>
Added in v1.0.0
decoders
hashDecoder
Signature
export declare const hashDecoder: <S extends string, B extends 'md4' | 'md5' | 'sha1' | 'sha256'>(
hash: B
) => D.Decoder<S, t.Branded<S, BrandMap[B]>>
Added in v1.1.0
types
MD4 (type alias)
Signature
export type MD4 = t.Branded<string, MD4Brand>
Added in v1.0.0
MD4Brand (interface)
Signature
export interface MD4Brand {
readonly MD4: unique symbol
}
Added in v1.0.0
MD5 (type alias)
Signature
export type MD5 = t.Branded<string, MD5Brand>
Added in v1.0.0
MD5Brand (interface)
Signature
export interface MD5Brand {
readonly MD5: unique symbol
}
Added in v1.0.0
SHA1 (type alias)
Signature
export type SHA1 = t.Branded<string, SHA1Brand>
Added in v1.0.0
SHA1Brand (interface)
Signature
export interface SHA1Brand {
readonly SHA1: unique symbol
}
Added in v1.0.0
SHA256 (type alias)
Signature
export type SHA256 = t.Branded<string, SHA256Brand>
Added in v1.0.0
SHA256Brand (interface)
Signature
export interface SHA256Brand {
readonly SHA256: unique symbol
}
Added in v1.0.0