Pudu programming language
Menu

Std.App.Password.store

1 declaration

fn

store: Str -> Result[Std.App.Password.Stored, Std.App.Password.PasswordError]

This is a callable function.

What it does

A password in the form that proves it later without holding it.

Every password gets its own salt from the machine's own entropy. A shared

salt means two people who chose the same password have the same digest,

which turns one guess into a list of accounts.

Read the signature

  • The text after the name is the type checked by Pudu.
  • Read arrows from left to right: inputs come first, and the final type is returned.
  • Names inside [ ] are type arguments, such as the item type held by a collection.
  • Result makes success and recoverable failure part of the function's type.

Back to Std.App.PasswordSearch related declarations