digest Questions

5

Solved

I'm trying to get the SHA256 of a string in Android. Here is the PHP code that I want to match: echo bin2hex(mhash(MHASH_SHA256,"asdf")); //outputs "f0e4c2f76c58916ec258f246851bea091d14d4247a2fc3...
Cheapjack asked 23/8, 2011 at 18:59

2

Solved

I need to add a fingerprint to each row in a dataset so to check with a later version of the same set to look for difference. I know how to add hash for each row in R like below: data.frame(iris,...
Jeremie asked 21/9, 2017 at 4:38

6

Solved

I need to create a signature string for a variable in Ruby, where the variable can be a number, a string, a hash, or an array. The hash values and array elements can also be any of these types. Th...
Lupine asked 23/6, 2011 at 23:29

3

Does anyone know how to screen scrape web-sites that use digest http authentication? I use code like this: var request = (HttpWebRequest)WebRequest.Create(SiteUrl); request.Credentials=new Network...
Cyaneous asked 27/2, 2009 at 11:1

4

I have to write some code with Node.JS for an API documentation, but I tried the last few days all the solutions I could found on the web (including Stack of course) without succes... My API use H...

8

Solved

I am trying to use the library DigestUtils in Android 2.3.1 using JDK 1.6, however I get the following error when executing the app: Could not find method org.apache.commons.codec.binary.Hex.encod...
Wandis asked 3/2, 2012 at 9:43

6

Solved

The Google App Script function computeDigest returns a byte array of the signature. How can I get the string representation of the digest? I have already tried the bin2String() function. function...
Wriggle asked 25/4, 2013 at 14:3

2

Solved

I use this hash function a lot, i.e. to record the value of a dataframe. Wanted to see if I could break it. Why aren't these hash values identical? This requires the digest package. Plain text o...
Velocipede asked 8/1, 2019 at 16:3

11

Solved

I understand how it works but if I want to print out the MD5 as String how would I do that? public static void getMD5(String fileName) throws Exception{ InputStream input = new FileInputStream(f...
Moisesmoishe asked 29/3, 2011 at 9:11

0

i have developed a web application where a user can select multiple files via a input field. Then the sha-256 checksums are calculated by the following code. The code (taken from developer.mozilla....
Cabezon asked 10/10, 2018 at 10:21

4

Solved

I need to extract an 8 byte digest from a variable length string so I'm looking for such an algorithm that I will implement in c/c++. That will be part of a digital signature procedure on a microco...
Mimosa asked 10/11, 2012 at 19:0

2

Solved

I'm trying to access pages from my company server with python. The first trail return 401: Unathorized(the server does need domain username/pwd for authentication). And the header content is as fol...
Confined asked 6/8, 2013 at 14:58

1

Solved

As in my last question (see details there), I am using SELECT encode(digest(x::text::bytea, 'sha1'), 'hex') FROM xtmp; Not solved, is not the same hash tham original... Perhaps the ::text enfor...
Extravagancy asked 26/1, 2018 at 20:42

5

I'm trying to get a digest password setup for the tomcat manager application. I've got <Realm className="org.apache.catalina.realm.UserDatabaseRealm" resourceName="UserDatabase" digest="MD5...
Avoid asked 5/6, 2010 at 2:23

1

Solved

I am quite new to C# and especially new to Signing with X509. I have an xml template in which I have to add the certificate used (done) and sign the timestamp (TS-1), the binary security token and ...
Tremble asked 28/3, 2016 at 13:42

4

I have an XML like this <?xml version="1.0" encoding="utf-8"?> <foo> <bar> <value>A</value> </bar> <bar> <value>B</value> </bar> ...
Preciosity asked 11/2, 2010 at 15:7

3

I am trying to add class to my sidebar when the viewport is less than or equal to 641px, and I have to watch the width of the window for that case $scope.$watch(function(){ return $window.innerW...
Purveyance asked 9/6, 2015 at 6:48

3

Solved

In rails 4 my image_tag("assets/logo.png") is not linking to the file with digest, the assets are precompiled also the images they are in public/assets/* My production.rb: Books::Application.con...

6

Solved

I'm trying to use the Apache/Jakarta HttpClient 4.1.1 to connect to an arbitrary web page using the given credentials. To test this, I have a minimal install of IIS 7.5 on my dev machine running wh...
Syndesmosis asked 6/5, 2011 at 21:48

1

Solved

My Epson TM-T88V-i receipt printer tries to fetch XML data from a server URL which needs the printer to authenticate via HTTP digest. (this Epson feature is called "Server Direct Print") From the ...

1

Solved

I am trying to make hash a password value according to sha256. I already search this but there is no info about swift 2. This solution did not worked for me func sha256(data:String) -> String ...
Vermillion asked 2/3, 2016 at 13:55

1

Solved

I have a question about Node.js Crypto module's hash digest. With the input hello world on the command line a base64 encoded sha256 produces: $ echo -n "hello world"|shasum -a256|base64 - Yjk0ZDI...
Dryden asked 2/2, 2016 at 13:40

2

Background angular's $http service is triggering a $digest on every get (if no $digest is already running): if (!$rootScope.$$phase) $rootScope.$apply(); Ia addition to fetching objects from ...
Gonnella asked 28/8, 2014 at 12:56

2

Solved

I have been having a look to a digest authentication example at: http://hc.apache.org/httpcomponents-client-4.3.x/examples.html In my scenario the there are several threads issuing HTTP requests ...

1

Solved

I'll explain all the steps I've done so far and conclude with my question. using OpenSSL 1.0.1e-fips 11 Feb 2013 Generating a private and public key openssl genrsa -des3 -out private.pem 2048 op...
Melodiemelodion asked 30/8, 2015 at 14:25

© 2022 - 2024 — McMap. All rights reserved.