method

generate_unique_secure_token

Importance_1
v7.1.3.4 - Show latest stable - 0 notes - Class: Blob
generate_unique_secure_token(length: MINIMUM_TOKEN_LENGTH) public

To prevent problems with case-insensitive filesystems, especially in combination with databases which treat indices as case-sensitive, all blob keys generated are going to only contain the base-36 character alphabet and will therefore be lowercase. To maintain the same or higher amount of entropy as in the base-58 encoding used by has_secure_token the number of bytes used is increased to 28 from the standard 24

Show source
Register or log in to add new notes.