toPassword - multiple declarations

Function toPassword

Constructs a Password from a ubyte[]. Mainly provided for syntactic consistency with 'toPassword(char[])'.

Prototype

std.typecons.RefCounted!(dauth.core.PasswordData) toPassword(
  ubyte[] password
);

Function toPassword

Constructs a Password from a char[] so you don't have to cast to ubyte[], and don't accidentally cast away immutability.

Prototype

std.typecons.RefCounted!(dauth.core.PasswordData) toPassword(
  char[] password
);

Authors

Copyright

License