Source: https://github.com/steamp0rt/romulus
Romulus is a mod which adds a "secure" API to CC. Currently, it only has two functions.
secure.hash: String text, String type -> String hex_out secure.random: Integer amount -> table random_bytes
secure.random is generated with Java's SecureRandom.
The current hash types are:
KECCAK_224 KECCAK_256 KECCAK_384 KECCAK_512 SHA3_224 SHA3_256 SHA3_384 SHA3_512 SHAKE128 SHAKE256
License
This mod is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this mod, you can obtain one at http://mozilla.org/MPL/2.0/
Edited by Quartz101, 25 June 2018 - 01:48 AM.