code: func NewKeyStore(keydir string, scryptN, scryptP int) *KeyStore {
  	keydir, _ = filepath.Abs(keydir)
  	ks := &KeyStore{storage: &keyStorePassphrase{keydir, scryptN, scryptP, false}}
  	ks.init(keydir)
  	return ks
  }
docs: // NewKeyStore creates a keystore for the given directory.