Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Other Programming > VBScript
|
VBScript For questions and discussions related to VBScript.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VBScript section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old January 12th, 2010, 04:57 PM
Registered User
 
Join Date: Jan 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default sha1 hashing and base64 encoding

I need help in computing a hash value. I want to do the following in vbscript:

HashValue = Base64.Encoding{SHA1.digest(DATA)} (this is in java)

I have been googling all day but haven't had any luck!

Any help would be appreciated. Thanks!
Reply With Quote
  #2 (permalink)  
Old January 13th, 2010, 08:33 PM
Friend of Wrox
 
Join Date: Jun 2008
Posts: 1,649
Thanks: 3
Thanked 141 Times in 140 Posts
Default

Well, base64 in VBS isn't too hard, but the SHA1 is probably too heavyweight for baby VBS.
Reply With Quote





Similar Threads
Thread Thread Starter Forum Replies Last Post
[HOW TO] Decode / Decrypt Sha1 ??? oscarestany PHP How-To 1 August 6th, 2007 05:49 PM
Password hashing in membership ashraf_gawdat ASP.NET 2.0 Basics 2 November 7th, 2006 05:44 AM
PNG image in base64 encoding janise PHP How-To 4 April 20th, 2006 02:30 PM
SHA1 Encryption/Decryption help kakko72 VS.NET 2002/2003 7 November 15th, 2004 07:20 PM
Hashing of URL while posting web pages debsoft General .NET 1 April 22nd, 2004 09:20 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.