react-native-nitro-totp
Version:
React Native module for TOTP (Time-based One-Time Password) and HOTP (HMAC-based One-Time Password) authentication.
7 lines (6 loc) • 320 B
JavaScript
export var SupportedAlgorithm;
(function (SupportedAlgorithm) {
SupportedAlgorithm[SupportedAlgorithm["SHA1"] = 0] = "SHA1";
SupportedAlgorithm[SupportedAlgorithm["SHA256"] = 1] = "SHA256";
SupportedAlgorithm[SupportedAlgorithm["SHA512"] = 2] = "SHA512";
})(SupportedAlgorithm || (SupportedAlgorithm = {}));