تبدیل کد به هش

FormsAuthentication.HashPasswordForStoringInConfigFile("متنی که باید تبدیل شود", "sha1")