# interfaces openvpn <vtunx> hash <algorithm>

Specifies the hash algorithm to be used within an OpenVPN tunnel.

The hash algorithm is SHA-1.

- vtunx
- The identifier for the OpenVPN interface. This may be vtun0 to vtunx, where x is a non-negative integer.
- algorithm
- The hash algorithm that is used within the OpenVPN tunnel. The algorithm is one of the following:
md5: MD5 algorithm

sha1: SHA-1 algorithm

sha256: SHA-256 algorithm

sha512: SHA-512 algorithm

The default algorithm is sha1.

Configuration mode

```
interfaces {
openvpn vtunx {
hash algorithm
}
}
```

Use this command to specify the hash algorithm that is used within an OpenVPN tunnel.

Use the set form of this command to specify the hash algorithm that is used within a tunnel.

Use the delete form of this command to remove the hash algorithm that is used within a tunnel and return to the default algorithm, which is SHA-1.

Use the show form of this command to view the hash algorithm that is used within a tunnel.