Sha256: 99cf0938ebac3d40f4112988cea852d700508f04d3c453d6509f0ec08af25473
Contents?: true
Size: 241 Bytes
Versions: 12
Compression:
Stored size: 241 Bytes
Contents
# frozen_string_literal: true require 'securerandom' module Argon2 # Generates a random, binary string for use as a salt. class Engine def self.saltgen SecureRandom.random_bytes(Argon2::Constants::SALT_LEN) end end end
Version data entries
12 entries across 12 versions & 1 rubygems