コード例 #1
0
  @Test
  public void testCompare() {
    final String password = "******";

    final String encrypted = encryptor.encrypt(password);
    assertThat(encryptor.compare(password, encrypted), is(true));
  }
コード例 #2
0
 @Test
 public void testEncrypt() {
   logger.debug(encryptor.encrypt("cyber!@34"));
   logger.debug(encryptor.encrypt("@aleldjfhrm4"));
 }