hmac

  1. KMatle

    B4R Code Snippet ESP32: HMAC with SHA256 (other md's will do, too) via inline c

    Here's a short example how to generate a HMAC SHA256 hash (via passphrase). It's good to "sign" messages as a passphrase is used to hash a message, Taken from: https://techtutorialsx.com/2018/01/25/esp32-arduino-applying-the-hmac-sha-256-mechanism/ Globals: Public hmackey(255) As Byte Public...
  2. KMatle

    B4J Tutorial [B4x]Google Authenticator OTP (others will do, too) complete example with code

    Wikipedia: Google Authenticator Most websites where you have to log in offer to protect your account by using a multi-factor authentication. Here you can use an app like Google Authenticator (GA) which shows a 6 or 8 digit number which you have to type in when you log in. How it works: The...
  3. Mashiane

    B4J Tutorial [BANano] MD5 Encryption - Getting the Md5 Hash of a string

    Ola Was recently requested to look at this by a friend, for encryption 1. Download this repo here to get the md5 javascript resource https://github.com/blueimp/JavaScript-MD5 2. In your BANano project, add the javascript file BANano.Header.AddJavascriptFile("md5.min.js") 3. Add this...
Top