# namespaceFromType function

String namespaceFromType(

1. ScramHashType type

)

## Implementation

    String namespaceFromType(ScramHashType type) {
      switch (type) {
        case ScramHashType.sha1:
          return saslScramSha1Negotiator;
        case ScramHashType.sha256:
          return saslScramSha256Negotiator;
        case ScramHashType.sha512:
          return saslScramSha512Negotiator;
      }
    }