Bitcoin Forum
May 01, 2024, 10:58:40 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Signing and verifying any data with ECDSA  (Read 68 times)
mamuu (OP)
Member
**
Offline Offline

Activity: 71
Merit: 19


View Profile
December 04, 2022, 02:06:51 PM
 #1

Hello, I have been developing mathematics with information from here for a long time. Thank you.

I'm producing a software now.

I have program "A"
There is a program "B" written by someone else elsewhere.
These softwares work over the web.

A function inside the "B" program runs when data comes from "A".


Let "A" have data ("11") and send it to "B"

Program "B" will trigger the "start()" function if the data "11" belongs to "A", but the "exit()" function will work if it does not belong to "A"?

It doesn't matter what language I use, I want to verify data on any webserver.
I've tried a few solutions but I've had a little bit of difficulty. How can this be confirmed with ECDSA? It's like processing a crypto wallet

1DWA3Sa8i6eHVWV4AG4UP2SBhYB2XrfiHW
BitcoinCleanup.com: Learn why Bitcoin isn't bad for the environment
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714561120
Hero Member
*
Offline Offline

Posts: 1714561120

View Profile Personal Message (Offline)

Ignore
1714561120
Reply with quote  #2

1714561120
Report to moderator
pooya87
Legendary
*
Offline Offline

Activity: 3430
Merit: 10519



View Profile
December 05, 2022, 05:18:53 AM
 #2

First B has to know A's public key. Each time that A sends any data to B it also signs that data with its key and sends both the data and the signature so that B can first verify the signature to make sure it is from A.

Without knowing what A and B are and what they are supposed to do and whether they communicate with each other only or also with others (C, D, ...), etc. it is not possible to give the best solution which may be using something like SSL where A encrypts the data before sending it instead of signing it.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!