digest Questions
3
Solved
I study C++ independently and I have one problem, which I can't solve more than week. I hope you can help me.
I need to get a SHA1 digest of a Unicode string (like Привет), but I don't know how to...
1
Solved
I have a quick question about calculating the digest of a PDF document to use for a digital signature (somewhat related to one of my earlier questions, I'm trying to figure out why you would need t...
Bradawl asked 25/3, 2015 at 9:31
2
Solved
I have this scenario.
I have an application that generates a PDF, and that needs to be signed.
We have not the certificates to sign the document, because they're in a HSM, and the only way we cou...
Impanel asked 25/2, 2015 at 11:21
1
Solved
tl;dr:
I want to have angular trigger css animations on page load. Is there a way to count angular's digest cycles within say, a controller or directive?
long version:
I have some angular anim...
Brecciate asked 13/12, 2014 at 0:31
3
Solved
In my code, I need to hash files using a variety of algorithms, including CRC32. Since I'm also using other cryptographic hash functions in the Digest family, I thought it would be nice to maintain...
1
Solved
Is there a way to postpone or delay a digest from happening?
I have a bunch of changes that I want to make to a model but I don't want the digest to fire until all changes to the model were made....
2
How can I get my bottle.py app (Running in Paste or Cherrypy) to do HTTP (basic or digest) authentication? - I need to secure it, but cant find a any HOWTOs.
Jezabella asked 7/11, 2012 at 15:14
2
Solved
I want to use HTTP Digest Authentication with a central database that stores usernames and encrypted passwords. These data should be used by different servers like Apache httpd or Tomcat for exampl...
Dissidence asked 21/1, 2010 at 12:59
5
Solved
Given two different messages, A and B (maybe 20-80 characters of text, if size matters at all), what is the probability that the MD5 digest of A is the same as the MD5 digest of B and the SHA1 dige...
Multifaceted asked 24/8, 2009 at 15:17
3
Solved
I need to sign xml using ruby, someone know any method or lib for that?
My xml skeleton is:
<?xml version="1.0" encoding="ISO-8859-1"?>
<Message>
<MessageId>
<ServiceId>...
Brogan asked 29/10, 2012 at 17:47
2
I have problem with assets in production.
I can't load stylesheets, javascripts or even images.
When I try to access to something, it shows me error - not found
But when I try to access with -di...
Mesmerize asked 17/7, 2013 at 13:6
1
Solved
I need to translate some Ruby code to JavaScript and came across the following function:
def sha1_hex(h)
Digest::SHA1.hexdigest([h].pack('H*'))
end
What exactly does [h].pack('H*') mean in this...
4
Solved
I'm trying to authenticate a SOAP request using WS-UsernameToken spec, but the target device is always denying access. My non-working request looks like this. (The password I'm trying to hash is sy...
Axiology asked 10/8, 2010 at 11:39
1
Solved
I'm relatively new to RoR and I'm curious about why Rails compiles assets both with and without md5 hash for production?
I run bundle exec rake assets:clean then bundle exec rake assets:precompile...
Quasijudicial asked 6/4, 2012 at 15:52
1
Solved
I have a string representation of a MD5 hex digest for a file, that I want to convert to base64 in order to use the Content-MD5 HTTP header when uploading it. Is there a clearer or more efficient m...
1
Solved
I have written a simple Java class to generate the hash values of the Windows Calculator file. I am using Windows 7 Professional with SP1. I have tried Java 6.0.29 and Java 7.0.03. Can someone tell...
2
Solved
I would like to be able to take an arbitrary string, run it through a hashing function (like MD5), and then interpret the resulting digest in base-36.
I know there already exists a Digest library ...
2
Solved
So I decided to use digest HTTP authentication for my REST API. I googled it and found an entry in the PHP manual with an example of how to do it. So I copy the script, put it in index.php on my se...
Nial asked 2/3, 2011 at 21:14
2
Solved
I'm trying to create short non-colliding strings from longer strings in Ruby. What's the best way to do this? Base64 encode a MD5 hash?
This is the use case:
loop do
key = short_hash("#{user_id}...
1
Solved
How can I encrypt a string with MD5 in Rails 3.0 ?
pass = MD5.hexdigest(pass) in a model yields uninitialized constant MyModel::MD5
1
Solved
I'm trying to hash some strings in a Common Lisp app I'm working on. The sd-sha1 package seems to be unsupported, and has been for some time judging by the CLiki page, which suggests using Ironclad...
Farther asked 10/10, 2010 at 14:19
1
Solved
I use jdbcRealm for security in my glassfish v3.0.1 b22. It is set up so that it use the USER table inside my database for authentication by following this blog: http://blogs.oracle.com/foo/entry/m...
1
Solved
I can't figure out what I'm doing wrong here. I have the following code:
byte[] digest = new byte[0];
MessageDigest md = null;
try{
md = MessageDigest.getInstance( "SHA-512" );
}
catch( NoSuchAlg...
2
How to implement HTTPS with Digest Authentication in C#.Net? as per msdn, credential class has no support for SSL.. so how can we implement authentication? my code works with basic authentication b...
3
Solved
I am getting different message digests from the linux 'sha512sum' tool and the python hashlib library.
Here is what I get on my Ubuntu 8.10:
$ echo test | sha512sum
0e3e75234abc68f4378a86b3f4b32a...
© 2022 - 2024 — McMap. All rights reserved.