erg/crates/erg_compiler/lib/pystd/hmac.d.er
2023-11-25 02:57:22 +09:00

13 lines
518 B
Python

.HMAC!: ClassType
.HMAC!.
digest_size: Nat
block_size: Nat
name: Str
update!: (self: RefMut(.HMAC!), msg: Bytes) => NoneType
digest: (self: Ref(.HMAC!)) -> Bytes
hexdigest: (self: Ref(.HMAC!)) -> Str
copy: (self: Ref(.HMAC!)) -> .HMAC!
.compare_digest: (a: Str or Bytes, b: Str or Bytes) -> Bool
.new: (key: Bytes, msg := Bytes, digestmod := Str or GenericCallable or GenericModule) -> .HMAC!
.digest: (key: Bytes, msg := Bytes, digest := Str or GenericCallable or GenericModule) -> Bytes