]> Cypherpunks.ru repositories - pygost.git/blob - pygost/gost34112012256.py
Unify docstring's leading space presence
[pygost.git] / pygost / gost34112012256.py
1 """GOST R 34.11-2012 (Streebog) 256-bit hash function
2
3 This is implementation of :rfc:`6986`. Most function and variable names are
4 taken according to specification's terminology.
5 """
6
7 from pygost.gost34112012 import GOST34112012
8
9
10 class GOST34112012256(GOST34112012):
11     def __init__(self, data=b""):
12         super(GOST34112012256, self).__init__(data, digest_size=32)
13
14
15 def new(data=b""):
16     return GOST34112012256(data)