Package org.springframework.security.crypto.keygen

Examples of org.springframework.security.crypto.keygen.StringKeyGenerator


   
  /**
   * Get initial password - a randomly generated string.
   */
  String getInitPassword() {
    StringKeyGenerator generator = KeyGenerators.string();
    return generator.generateKey().substring(0, 8);
  }
View Full Code Here

TOP

Related Classes of org.springframework.security.crypto.keygen.StringKeyGenerator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.