toCrypt function

String toCrypt(
  1. CryptData input
)

Encodes a hash algorithm output to string following PHC string format.

Implementation

String toCrypt(CryptData input) {
  return crypt.encoder.convert(input);
}