fix: add missing definition of sha1
This commit is contained in:
@@ -14,10 +14,15 @@ import os
|
||||
import math
|
||||
import base64
|
||||
import binascii
|
||||
import hashlib
|
||||
|
||||
from pem import *
|
||||
|
||||
|
||||
def SHA1(x):
|
||||
return hashlib.sha1(x).digest()
|
||||
|
||||
|
||||
# **************************************************************************
|
||||
# PRNG Functions
|
||||
# **************************************************************************
|
||||
|
||||
Reference in New Issue
Block a user