Hash Data

From 2008 SHA-1 hashes are not considered as safe anymore due to improved collision mechanism and the increasing performance of normal standard computer.

With the Aloaha Smart Card Connector Aloaha supplies the operating system with MD2, MD4, MD5, SHA-1, SHAMD5, SHA-256, SHA-384 and SHA-512. Suggested at the moment is to use SHA-256 instead of SHA-1. It works even on operating systems which usually do not support those hash types. For example Windows XP and Windows 2000.

Since Aloaha integrates into the operation system as Aloaha Cryptographic Service Provider all functions can be used via Microsoft Crypto API. 

Not everone is able to use the Microsoft Crypto API. For example it is not possible to use it from scripting. For those customer we implemented an easy to use automation compatible COM Object.

Please find below a code sample on how to use it from VBS. Data is hashed with SHA-256 in this example.


dim csp
dim data
dim result
dim HashType
dim InputType
Dim OutputType

InputType = 0          'UniCode
OutputType = 2       'HEX
HashType = 5          'SHA-256

set csp = createobject("aloahacsp.hash")

data="Aloaha"

result=csp.HASH(cstr(data), clng(HashType), clng(InputType), clng(OutputType))

msgbox result

set csp = nothing


If you need further information please do not hesitate to contact use via the webform below:



Company
Contact Person  
E-Mail
Telephone
Fax
Comment:

Please enter the code shown on the left in the following field: (This is to prevent automatic spammers)


Aloaha Software / Knowledge Base / Smart Card API / Hash Data
create PDF Software

Hash Data

Any questions?
Aloaha Software - Hash Data / MD2 / MD4 / MD5 / SHA-1 / SHAMD5 / SHA-256 / SHA-384 / SHA-512
ProductsKnowledge BaseShopSupportPress
Deutsche VersionEnglish version