Encryption

Encryption

Command

/crazylogin mode algorithm <Encryptor> [Additional_Args]

If you execute this command once, you will enable changed algorithm encryption (old and new passwords work for login and will be updated on login).
If you execute this command twice (with the same args), only the new algorithm will work.

config.yml

encryptor:
  name: <Encryptor>
  [additional_args: Additional_Args]

List of available Encryptors

CrazyLogin offers serveral encryption algorithms (The sort order has nothing to do with encryption security)

  • Plaintext
  • MD2
  • MD5
  • SHA-1
  • SHA-256
  • SHA-512
  • SeededMD2
  • SeededMD5
  • SeededSHA-1
  • SeededSHA-256
  • SeededSHA-512
  • CrazyCrypt1
  • CrazyCrypt2
  • WebCrypt
  • Whirlpool
  • AuthMe
  • xAuth

Create your own Encryptor

  1. Download CrazyLogin API
  2. Implement Encryptor (with both constructors)
  3. Register Encryptor in onLoad of your plugin
EncryptHelper.registerAlgorithm(String algorithm, Class<? extends Encryptor> clazz);