.
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
"""GOST R 34.11-2012 (Streebog) 256-bit hash function
|
||||
|
||||
This is implementation of :rfc:`6986`. Most function and variable names are
|
||||
taken according to specification's terminology.
|
||||
"""
|
||||
|
||||
from pygost.gost34112012 import GOST34112012
|
||||
|
||||
|
||||
class GOST34112012256(GOST34112012):
|
||||
def __init__(self, data=b""):
|
||||
super(GOST34112012256, self).__init__(data, digest_size=32)
|
||||
|
||||
|
||||
def new(data=b""):
|
||||
return GOST34112012256(data)
|
||||
Reference in New Issue
Block a user