encode method
Encodes the Algorithm id
and its params
to the used salt
and the generated hash
.
Implementation
String encode(String id, List params, String salt, String hash) {
return ['', id, params.join(','), salt, hash].join('\$');
}
Encodes the Algorithm id
and its params
to the used salt
and the generated hash
.
String encode(String id, List params, String salt, String hash) {
return ['', id, params.join(','), salt, hash].join('\$');
}