Configure the Digest algorithm key which can be of type MD5, SHA-1 or SHA-2. At most, you can configure two digest keys for an interface.
default ip ospf digest-key <1-255>
ip ospf digest-key <1-255> key WORD<0-16>
no ip ospf digest-key <1-255>
None
VLAN Interface Configuration