Module z_auth2fa_qrcode_demo

Shows how to achieve HOTP/SHA1 with a mobile phone using Google Authenticator.

Copyright © Copyright 2011 Steve Davis <steve@simulacity.com>

References

Description

Shows how to achieve HOTP/SHA1 with a mobile phone using Google Authenticator.

This module is a rag-bag of supporting functions, many of which are simplified extracts from the core libs (?_common, ?_crypto, ?_math, ?_image). This is to allow a full-cycle demo without requiring open-sourcing of the entire platform.

Function Index

generate_png/3
totp/0
totp/2

Function Details

generate_png/3

generate_png(Domain, Passcode, Seconds) -> any()

totp/0

totp() -> any()

totp/2

totp(Key, Period) -> any()


Generated by EDoc