Can anyone advise on how to code an extension to String to implement the following protocol:
protocol GenericPasswordConvertible: CustomStringConvertible {
init<D>(rawRepresentation data: D) throws where D: ContiguousBytes
var rawRepresentation: Data { get }
}
Thank you!