Zip Component, Email Component, Encryption Component ActiveX Control for Zip Compression .NET Components for ASP.NET
ActiveX and .NET Components for Zip Compression, Encryption, Email, XML, S/MIME, HTML Email, Character Encoding, Digital Certificates, FTP, and more ASP Email ActiveX Component

  

  

  Chilkat ActiveX Components

  Chilkat .NET Components

  Chilkat C++ Libraries

  

  

  

  

 

FAQ

128-Bit AES Decryption Tool   Back to Online Tools

This page should be viewed in Internet Explorer. It uses the Chilkat Crypt2 ActiveX component, which is a digitally signed and safe-for-scripting client-side component.

Password:

AES Decrypt this Text:

Javascript for 128-bit AES Decryption

<script type="text/javascript" language="javascript">

function aesDecrypt()
{
	document.crypt2.UnlockComponent("Anything goes here.");
	
	// Crypt algorithms include "aes", "blowfish2", "twofish", "pki"
	document.crypt2.CryptAlgorithm = "aes";
	
	// Output encoding possibilities include "base64", "hex", "qp", or "url"
	document.crypt2.EncodingMode = "base64";
	
	// Key length can be 128, 192, or 256
	document.crypt2.KeyLength = 128;
	
	document.crypt2.SecretKey = 
		document.crypt2.GenerateSecretKey(document.form1.password.value);
		
	document.form1.etx.value = 
			document.crypt2.DecryptStringENC(document.form1.etx.value);
}

</script>

The crypt2.DecryptStringENC method decrypts and returns the original string. It is the reverse of the EncryptStringENC method.

About the Chilkat ActiveX Components for Client-Side Javascript / AJAX

The Chilkat ActiveX components are packaged in digitally-signed .cab files to ensure integrity and authenticity. The components are safe-for-scripting. When a Chilkat ActiveX detects that it is running in a browser, all local filesystem read/write functionality is disabled.

More information about Chilkat ActiveX in Javascript

Crypt2 ActiveX Reference

Embedding ActiveX in HTML Reference

More Online Tools


Privacy Statement. Copyright 2000-2010 Chilkat Software, Inc. All rights reserved.
Send feedback to support@chilkatsoft.com

Components for Microsoft Windows 7, Vista, XP, 2000, 2003 Server, and Windows 95/98/NT4.