My Project
Loading...
Searching...
No Matches
wolfcrypt.hashes.Sha Class Reference
Inheritance diagram for wolfcrypt.hashes.Sha:
wolfcrypt.hashes._Hash

Static Public Attributes

int digest_size = 20
 

Protected Member Functions

 _init (self)
 
 _update (self, data)
 
 _final (self, obj, ret)
 

Protected Attributes

 _native_object
 
- Protected Attributes inherited from wolfcrypt.hashes._Hash
 _native_object = _ffi.new(self._native_type)
 
 _native_size
 

Static Protected Attributes

str _native_type = "Sha *"
 
 _native_size = _ffi.sizeof("Sha")
 

Additional Inherited Members

- Public Member Functions inherited from wolfcrypt.hashes._Hash
 __init__ (self, string=None)
 
 new (cls, string=None)
 
 copy (self)
 
 update (self, string)
 
 digest (self)
 
 hexdigest (self)
 

Detailed Description

**SHA-1** is a cryptographic hash function standardized by **NIST**.

It produces an [ **160-bit | 20 bytes** ] message digest.