Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 686291
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T02:00:34+00:00 2026-05-14T02:00:34+00:00

The docs about openssl_sign() say that the signature is returned in the passed string

  • 0

The docs about openssl_sign() say that the signature is returned in the passed string argument. My question is – how is it encoded? Base64, Hex-string, anything else?

I don’t have php installed and I have to use this PHP code I was given simply in order to verify whether my Java implementation is correct, so don’t ask me “have you tried it” 😉

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T02:00:34+00:00Added an answer on May 14, 2026 at 2:00 am

    It doesn’t seem to be encoded at all:

    openssl_sign($data, $signature, $private_key, OPENSSL_ALGO_SHA1);
    echo $signature;

    produces:

    p}+C&3�\˅��u�gh��X������j��Yx���e�?�l�j��\�a/d�3}��t�l�w�

    or:

    00000000  05 70 7d 2b 43 26 33 d1  5c cb 85 ff b0 75 c6 67  |.p}+C&3.\....u.g|
    00000010  68 d2 d6 58 87 8f 02 f2  bc e5 f9 6a ff c4 59 78  |h..X.......j..Yx|
    00000020  bc 85 b4 13 65 fe 3f 00  d0 15 6c e7 6a b1 93 5c  |....e.?...l.j..\|
    00000030  88 61 2f 64 f8 33 7d b1  ad 74 01 e1 6c d9 77 c4  |.a/d.3}..t..l.w.|
    00000040
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm looking at the MSDN docs about List.GetEnumerator. They say the C# method signature
The docs for Dictionary.TryGetValue say: When this method returns, [the value argument] contains the
I've read many docs about thread states, some of them tells that there is
The Python docs say: re.MULTILINE: When specified, the pattern character '^' matches at the
I've got a string, a signature, and a public key, and I want to
When reading the apple docs about multithreading, they talk a lot about Run Loops.
I've read some docs about the .NET Garbage Collector but i still have some
Following is clearly mentioned in java docs about java.text.NumberFormat class :- setParseIntegerOnly : only
I was reading the Python docs about classes and came across this paragraph which
I have already read the hibernate docs about concurrency and I think, I have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.