encode-password revision 0f8553e2af5fc49a510ecfcfc93e66d06713f631
2N/A# The contents of this file are subject to the terms of the 2N/A# Common Development and Distribution License, Version 1.0 only 2N/A# (the "License"). You may not use this file except in compliance 2N/A# You can obtain a copy of the license at 2N/A# See the License for the specific language governing permissions 2N/A# and limitations under the License. 2N/A# When distributing Covered Code, include this CDDL HEADER in each 2N/A# file and include the License file at 2N/A# add the following below this CDDL HEADER, with the fields enclosed 2N/A# by brackets "[]" replaced with your own identifying information: 2N/A# Portions Copyright [yyyy] [name of copyright owner] 2N/A# Copyright 2006-2008 Sun Microsystems, Inc. 2N/A# Portions Copyright 2011 ForgeRock AS 2N/A# This script may be used to encode clear-text passwords or verify whether a 2N/A# given clear-text password matches a provided encoded password.