# pwd v1

### Repository

{% embed url="<https://github.com/metadiv-io/pwd/tree/v1>" %}

### Installation

```bash
go get -u github.com/metadiv-io/pwd
```

### Hash password

```
hashed, err := pwd.Hash("password")
```

Warning: password cannot longer than 72 bytes

### Verify password

`Verify`return true if the the password matched with hash.

```
ok := pwd.Verify("password", hashed)
```
