elective-stereophonic
elective-stereophonic
generatePassphrase API  
Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest Stable Nxt Client: Nxt 1.12.1 Upgrade before block 2870000 is mandatory!

Author Topic: generatePassphrase API  (Read 1454 times)

Tosch110

  • Hero Member
  • *****
  • Karma: +211/-18
  • Offline Offline
  • Posts: 2365
    • View Profile
generatePassphrase API
« on: January 14, 2016, 02:14:22 pm »

Hello,

I have found myself in a situation where I am wondering myself about how to generate strong and secure passphrases and I have seen that a lot of other users sometimes find themselves in the same situation. In the official client we have found a good way to create human readable and secure passphrases but this function is not available on the backend. What would you think of an API call that creates a passphrase with high entropy and is recommended in length and readability by the core developers? This could help lots of developers not having to write their own function for secure passphrases, which might end up weak in some cases. When users know what they are doing, this is great and they can still write complex but secure passphrase functions that makes users secure.

Do you also think that such an API call could benefit developers to easier create accounts in the backend?

crimi

  • Hero Member
  • *****
  • Karma: +122/-11
  • Offline Offline
  • Posts: 863
    • View Profile
Re: generatePassphrase API
« Reply #1 on: January 14, 2016, 02:29:27 pm »

https://bitbucket.org/JeanLucPicard/nxt/src/d6947c2ac5decfe8dfbaa19d4e5a605a736619a7/html/ui/js/crypto/?at=master

As a developer you could take it from the nrs source, but it would be nice to have a API call like this.
Logged
 

elective-stereophonic
elective-stereophonic
assembly
assembly