title: Mongodb getting error while creating new user
body: <p>I just installed a fresh mongodb on Ubuntu server and when i try to adduser i am getting error</p>
  
  <pre><code>db.createUser(
    {
      user: "admin",
      pwd: "ADYkdfd332@@33",
      roles: [ { role: "userAdminAnyDatabase", db: "admin" } ]
    }
  )
  
  
  2018-07-03T13:29:41.556+0530 E QUERY    [thread1] Error: couldn't add user: Use of SCRAM-SHA-256 requires undigested passwords :
  _getErrorWithCode@src/mongo/shell/utils.js:25:13
  DB.prototype.createUser@src/mongo/shell/db.js:1437:15
  @(shell):1:1
  </code></pre>