Skip to content
Surf Wiki
Save to docs
technology/cryptography

From Surf Wiki (app.surf) — the open knowledge base

Random password generator

Program that generates password from random number generator

Random password generator

Summary

Program that generates password from random number generator

Random password generator in [[Bitwarden

A random password generator is a software program or hardware device that takes input from a random or pseudo-random number generator and automatically generates a password.

Mnemonic hashes, which reversibly convert random strings into more memorable passwords, can substantially improve the ease of memorization. As the hash can be processed by a computer to recover the original 60-bit string, it has at least as much information content as the original string.

Password type and strength

Main article: Password strength

Websites

Web Cryptography API

The Web Cryptography API is the World Wide Web Consortium’s (W3C) recommendation for a low-level interface that would increase the security of web applications by allowing them to perform cryptographic functions without having to access raw keying material. The Web Crypto API provides a reliable way to generate passwords using the crypto.getRandomValues() method. Here is the simple Javascript code that generate the strong password using web crypto API.

FIPS 181 standard

Many computer systems already have an application (typically named "apg") to implement the password generator standard FIPS 181. FIPS 181—Automated Password Generator—describes a standard process for converting random bits (from a hardware random number generator) into somewhat pronounceable "words" suitable for a passphrase. NIST. Automated Password Generator standard FIPS 181 However, in 1994 an attack on the FIPS 181 algorithm was discovered, such that an attacker can expect, on average, to break into 1% of accounts that have passwords based on the algorithm, after searching just 1.6 million passwords. This is due to the non-uniformity in the distribution of passwords generated, which can be addressed by using longer passwords or by modifying the algorithm.

Mechanical methods

Yet another method is to use physical devices such as dice to generate the randomness. One simple way to do this uses a 6 by 6 table of characters. The first die roll selects a row in the table and the second a column. So, for example, a roll of 2 followed by a roll of 4 would select the letter "j" from the fractionation table below. :{| class="wikitable" ! |1||2||3||4||5||6 |- |1 ! a ! b ! c ! d ! e ! f |- |2 ! g ! h ! i ! j ! k ! l |- |3 ! m ! n ! o ! p ! q ! r |- |4 ! s ! t ! u ! v ! w ! x |- |5 ! y ! z ! 0 ! 1 ! 2 ! 3 |- |6 ! 4 ! 5 ! 6 ! 7 ! 8 ! 9 |}

References

References

  1. (May–June 2015). "Proceedings of the 2015 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies". Association for Computational Linguistics.
  2. "Generate a Secure Random Password Using Web Crypto API and Javascript".
  3. "Step-by-step process of creating a robust password using Web Crypto API".
  4. "StrongPasswords – Community Help Wiki".
  5. (2012). "Correct horse battery staple: Exploring the usability of system-assigned passphrases".
  6. (1994). "A New Attack on Random Pronounceable Password Generators". NIST.
  7. Levine, John R., Ed.: ''Internet Secrets'', Second edition, page 831 ff. John Wiley and Sons.
Wikipedia Source

This article was imported from Wikipedia and is available under the Creative Commons Attribution-ShareAlike 4.0 License. Content has been adapted to SurfDoc format. Original contributors can be found on the article history page.

Want to explore this topic further?

Ask Mako anything about Random password generator — get instant answers, deeper analysis, and related topics.

Research with Mako

Free with your Surf account

Content sourced from Wikipedia, available under CC BY-SA 4.0.

This content may have been generated or modified by AI. CloudSurf Software LLC is not responsible for the accuracy, completeness, or reliability of AI-generated content. Always verify important information from primary sources.

Report