com.sas.services.information.metadata.lookup.security.crypto
Class Symmetric

com.sas.services.information.metadata.lookup.security.crypto.Symmetric

public class Symmetric


Constructor Summary
Symmetric()
           
 
Method Summary
 byte[] decrypt(byte[] cipherText)
           
 byte[] encrypt(byte[] plainText)
          Encrypt the supplied string using DES encryption and convert the result to a base64 byte array.
 

Constructor Detail

Symmetric

public Symmetric()
Method Detail

encrypt

public byte[] encrypt(byte[] plainText)
Encrypt the supplied string using DES encryption and convert the result to a base64 byte array.

Parameters:
plainText -
Returns:
- base64 byte array representing the DES encrypted plainText

decrypt

public byte[] decrypt(byte[] cipherText)



Copyright © 2009 SAS Institute Inc. All Rights Reserved.