Skip to content
#

game-mod

Here are 197 public repositories matching this topic...

Inder00
Inder00 commented Jan 14, 2021

Describe the solution you'd like
Add hmac support programically.
Hmac is used by two-factor-authentication (ex. TOTP) to generating time-based (for TOTP) codes.
Algorithms that can be used are already built into the MTA, and they are sha1, sha256, sha512.

Shared functions:

  • string hmacEncode( string algorithm, string key, string value )
  • `string hmacDecode( string algorithm

Improve this page

Add a description, image, and links to the game-mod topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the game-mod topic, visit your repo's landing page and select "manage topics."

Learn more