Documentation ¶ Index ¶ func Sum256(data []byte) (digest [32]byte) func Verify(pubKeyBytes, digest, signature []byte) (bool, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Sum256 ¶ func Sum256(data []byte) (digest [32]byte) Sum256 calculates and returns a hash sum of 256 bits for data, using the algorithm of GOST R 34.11-2012. func Verify ¶ func Verify(pubKeyBytes, digest, signature []byte) (bool, error) Verify verifies the signature for the specified message hash using the public key and GOST R 34.10-2012 algorithm on the cryptographic curve id-GostR3410-2001-CryptoPro-XchA-ParamSet. Returns true if the signature is true and false otherwise. Types ¶ This section is empty. Source Files ¶ View all Source files digest.go verify.go Click to show internal directories. Click to hide internal directories.