» Home » SHA1 » Page 1
Does system.security.cryptography.sha1 use OpenSSL library's implementation of SHA1 algorithm?
Category : Programming Languages

or is the algorithm custom implemented by Microsoft? i tested that SHA1 computed using OpenSSL on mac is equivalent to the hash computed in C# using system.security.cryptography.sha1.

View Replies

Getting the SHA1 block from GNAT.SHA1
Category : Web Design

I am using GNAT.SHA1 to create a SHA1 hash of a string in Ada. My code base is small, so I'd like to avoid importing any libraries to the project that aren't provided by my compiler, hence I'm using GNAT.SHA1. As far as I'm aware, the only "public" methods for retrieving the hash is in String form via the Digest function. I would

View Replies

Python HMAC-SHA1 vs Java HMAC-SHA1 different results
Category : Java

I borrowed the HMAC-SHA1 Java code from http://tools.ietf.org/html/rfc6238 and adapted slightly to hardcode it to use one known key/message pair with known output.

I then tried to write the same code in Python to verify the results, however I'm getting different values in Python and Java.

The Java values are known to be good.

Java code:


View Replies

I have .Net code uses byte array and get sha1 value but in php i cannot use array to sha1
Category : PHP

I have .net code that need to be converted to PHP but I got value $bytearray[] in php need to do sha1 how to do that in PHP....

Pls help

View Replies

Is it possible to convert a 40-character SHA1 hash to a 20-character SHA1 hash?
Category : Programming Languages

My problem is a bit hairy, and I may be asking the wrong questions, so please bear with me...

I have a legacy MySQL database which stores the user passwords & salts for a membership system. Both of these values have been hashed using the Ruby framework - roughly like this:

hashedsalt =

View Replies

PHP how sha1 get this?
Category : Programming Languages

I have my own little website and encrypting with sha1, now i try connect it to a SMF forum, but the sha1 codes is not the same?

My code

$password = "thisisatestpass";
echo $encrypted_password; //03d858ce5f3b29b153b0392f196cff6f6e8684d0

SMF: 78481983d348ce4fbfabaccbb59af8ea95471f0c

View Replies

TAGS : sha1 this

Help with SHA1 or MD5 in PHP
Category : PHP

I have created a form that inserts the entered data into the database. It works perfectly except when I put SHA1('$password') into the INSERT INTO VALUSE tag. If I put only '$password it works fine.

Putting SHA1 displays - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' at line 1


View Replies

TAGS : Help with SHA1

G-wan C Sha1 hashing
Category : Programming Languages

I'm having a small issue getting the sha1 function to work in G-WAN.

Basically i have the string i want to hash, I'm new to C in general so any pointers would be

This is the string im trying to sha1 hash, I'v tried several approaches but I'm not sure what I'm doing wrong.

u8 *input = "258EAFA5-E914-47DA-95CA-C5AB0DC85B11";

View Replies

TAGS : Sha1 hashing

Encryption using SHA1
Category : Development Tools & Services

I am developing a large application and i need encryption when a data is traveling between two machines in different continents. I have never worked on encryption. I want a simple encryption which can be handled in PHP / Ruby / Python without any dependencies.

So i decided to use HMAC SHA1.

$pad=hash_hmac("sha1","The quick brown....","mykey");


View Replies

base64'ing a sha1
Category : Programming Languages

Why does C#'s tobase64string convert "a46fb104c5ea2fd65df3909f4c6ba4191c2eb4e5" into a 56 character string while the following site: http://tomeko.net/online_tools/hex_to_base64.php?lang=en produced the base64 encoded string I'm trying to achieve? This is driving me effing insane! Haha.

View Replies

TAGS : base64 sha1

2012 / 2017 Copyrights BigHow , All Rights Reserved .