Added sha512crypt function