summaryrefslogtreecommitdiff
path: root/framework/Web/Security/TMembershipPasswordFormat.php
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Web/Security/TMembershipPasswordFormat.php')
-rw-r--r--framework/Web/Security/TMembershipPasswordFormat.php24
1 files changed, 24 insertions, 0 deletions
diff --git a/framework/Web/Security/TMembershipPasswordFormat.php b/framework/Web/Security/TMembershipPasswordFormat.php
new file mode 100644
index 00000000..6648c92b
--- /dev/null
+++ b/framework/Web/Security/TMembershipPasswordFormat.php
@@ -0,0 +1,24 @@
+<?php
+/**
+ * TMembershipPasswordFormat class.
+ * Describes the encryption format for storing passwords for membership users.
+ *
+ * Clear Passwords are not encrypted.
+ * Encrypted Passwords are encrypted using the encryption settings determined by the
+ * machineKey Element (ASP.NET Settings Schema) element configuration.
+ * Hashed Passwords are encrypted one-way using the SHA1 hashing algorithm.
+ * You can specify a hashing algorithm different than the SHA1
+ * algorithm using the hashAlgorithmType attribute.
+ *
+ * @author Jason Ragsdale <jrags@jasrags.net>
+ * @version $Id: TMembershipPasswordFormat.php 1398 2006-09-08 19:31:03Z xue $
+ * @package System.Web.Security
+ * @since 3.1
+ */
+class TMembershipPasswordFormat extends TEnumerable
+{
+ const Clear='Clear';
+ const Encrypted='Encrypted';
+ const Hashed='Hashed';
+}
+?> \ No newline at end of file