Sha256: 2f3f612cd77767dabb05141b85a412ef6ecd39058bd505aa7d0251727b41f9dd
Contents?: true
Size: 462 Bytes
Versions: 51
Compression:
Stored size: 462 Bytes
Contents
require_dependency "think_feel_do_engine/application_controller" module ThinkFeelDoEngine # Calculate the bits of entropy in a password. class PasswordEntropyBitsController < ApplicationController def show validator = PasswordValidator .new( password: params[:password], password_token: params[:reset_password_token]) render json: { bits: validator.entropy_value } end end end
Version data entries
51 entries across 51 versions & 1 rubygems