Agent SDK
|
Functions | |
def | sha256 (inbytes) |
Generate a SHA256 hash code. More... | |
def | hmac_sha256 (inbytes, keybytes) |
Generate a HMAC_SHA256 hash code. More... | |
def | sha512 (inbytes) |
Generate a SHA512 hash code. More... | |
def | hmac_sha512 (inbytes, keybytes) |
Generate a HMAC_SHA512 hash code. More... | |
def | pbkdf2 (inbytes, saltbytes, iterations, hashlen) |
Performs the PBKDF2 key derivation algorithm on provided input bytes and optional salt. More... | |
Various cryptographics functions.
def ionicsdk.cryptoutil.hmac_sha256 | ( | inbytes, | |
keybytes | |||
) |
Generate a HMAC_SHA256 hash code.
inbytes | (bytes): The data to hash |
keybytes | (bytes): The key bytes |
def ionicsdk.cryptoutil.hmac_sha512 | ( | inbytes, | |
keybytes | |||
) |
Generate a HMAC_SHA512 hash code.
inbytes | (bytes): The data to hash |
keybytes | (bytes): The key bytes |
def ionicsdk.cryptoutil.pbkdf2 | ( | inbytes, | |
saltbytes, | |||
iterations, | |||
hashlen | |||
) |
Performs the PBKDF2 key derivation algorithm on provided input bytes and optional salt.
inbytes | (bytes): The data to hash |
saltbytes | (bytes): The salt bytes |
iterations | (int): The number of iterations (must be greater than zero) |
hashlen | (int): The length of the desired output hash length, which must be greater than zero. The computed hash will be this length. |
def ionicsdk.cryptoutil.sha256 | ( | inbytes | ) |
Generate a SHA256 hash code.
inbytes | (bytes): The data to hash |
def ionicsdk.cryptoutil.sha512 | ( | inbytes | ) |
Generate a SHA512 hash code.
inbytes | (bytes): The data to hash |
You acknowledge your access, review and use of the documentation on this page is subject to the Ionic Security Inc. Documentation Use Rights.
© 2016-2018 Ionic Security Inc. All rights reserved.
Generated on Mon Jun 24 2019 10:20:15 for Agent SDK by
1.8.12