MCPcopy Create free account
hub / github.com/RNCryptor/RNCryptor-python / _pbkdf2

Method _pbkdf2

rncryptor.py:180–181  ·  view source on GitHub ↗
(self, password, salt, iterations=10000, key_length=32)

Source from the content-addressed store, hash-verified

178 return hmac.new(secret, salt, hashlib.sha1).digest()
179
180 def _pbkdf2(self, password, salt, iterations=10000, key_length=32):
181 return KDF.PBKDF2(password, salt, dkLen=key_length, count=iterations, prf=self._prf)
182
183
184def decrypt(data, password):

Callers 2

decryptMethod · 0.95
encryptMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected