MCPcopy Index your code
hub / github.com/Bitmessage/PyBitmessage / decryptFast

Function decryptFast

src/highlevelcrypto.py:31–32  ·  view source on GitHub ↗
(msg,cryptor)

Source from the content-addressed store, hash-verified

29 return makeCryptor(hexPrivkey).decrypt(msg)
30# Decrypts message with an existing pyelliptic.ECC.ECC object
31def decryptFast(msg,cryptor):
32 return cryptor.decrypt(msg)
33# Signs with hex private key
34def sign(msg,hexPrivkey):
35 # pyelliptic is upgrading from SHA1 to SHA256 for signing. We must

Callers

nothing calls this directly

Calls 1

decryptMethod · 0.80

Tested by

no test coverage detected