Bitcoin Forum
May 14, 2024, 05:35:48 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: anyone can tell me what is this?  (Read 301 times)
cafter (OP)
Full Member
***
Offline Offline

Activity: 448
Merit: 222



View Profile WWW
February 22, 2023, 06:11:25 AM
Merited by Halab (2), Welsh (1)
 #1

i found this from adam back's home page that says export crypto sig
the code is :
Code:
 -export-a-crypto-system-sig -RSA-3-lines-PERL

#!/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
$/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)


i not a coder or developer so asking this , what is meaning of export crypto sig
http://www.cypherspace.org/adam/rsa/
1715664948
Hero Member
*
Offline Offline

Posts: 1715664948

View Profile Personal Message (Offline)

Ignore
1715664948
Reply with quote  #2

1715664948
Report to moderator
1715664948
Hero Member
*
Offline Offline

Posts: 1715664948

View Profile Personal Message (Offline)

Ignore
1715664948
Reply with quote  #2

1715664948
Report to moderator
"Bitcoin: the cutting edge of begging technology." -- Giraffe.BTC
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
NotATether
Legendary
*
Offline Offline

Activity: 1596
Merit: 6740


bitcoincleanup.com / bitmixlist.org


View Profile WWW
February 22, 2023, 09:21:47 AM
 #2

Honestly I have no idea how to even run that as a program (let alone passing a sig file as an input to it). I'm getting a whole bunch of syntax errors when I pasted that into a perl file.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
NotATether
Legendary
*
Offline Offline

Activity: 1596
Merit: 6740


bitcoincleanup.com / bitmixlist.org


View Profile WWW
February 22, 2023, 01:29:01 PM
 #3

Honestly I have no idea how to even run that as a program (let alone passing a sig file as an input to it). I'm getting a whole bunch of syntax errors when I pasted that into a perl file.

Me either, even after following the guide[1]. It's likely the problem lies within version of perl/dc.

[1] http://www.cypherspace.org/adam/rsa/rsa-details.html
[2] http://www.cypherspace.org/adam/rsa/story2.html, under big text "The commented version".

I'm not sure why an RSA encryption script would even need to use dc, because that is just a reverse polish calculator, and I know that Perl has its own set of arithmetic operators (not to mention that this doesn't even look like valid Perl).

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
February 22, 2023, 09:44:37 PM
Last edit: November 14, 2023, 11:29:03 PM by HCP
Merited by Welsh (3), NeuroticFish (2), ABCbits (1), paid2 (1)
 #4

i not a coder or developer so asking this , what is meaning of export crypto sig
http://www.cypherspace.org/adam/rsa/

It's a throwback to the "old days" (1990s) where the USA had a bunch of export restrictions on cryptographic algorithms and programs and suchlike as they were classified as "munitions". The idea was to create the smallest working version of the RSA algorithm that could be included in an email signature (or a signature on a Usenet newsgroup post etc) so it could be shared publicly with everyone.

People had T-Shirts printed with the text... and it looks like someone actually had it tattooed on their arm:



(not to mention that this doesn't even look like valid Perl).
Perl is great like that Tongue

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
serveria.com
Legendary
*
Offline Offline

Activity: 2240
Merit: 1172


Privacy Servers. Since 2009.


View Profile WWW
February 23, 2023, 09:19:04 PM
 #5

i not a coder or developer so asking this , what is meaning of export crypto sig
http://www.cypherspace.org/adam/rsa/

It's a throwback to the "old days" (1990s) where the USA had a bunch of export restrictions on cryptographic algorithms and programs and suchlike as they were classified as "munitions". The idea was to create the smallest working version of the RSA algorithm that could be included in an email signature (or a signature on a Usenet newsgroup post etc) so it could be shared publicly with everyone.

People had T-Shirts printed with the text... and it looks like someone actually had it tattooed on their arm:



(not to mention that this doesn't even look like valid Perl).
Perl is great like that Tongue

Wow, thanks for clarifying, I could have never imagined something like this was possible and actually happened. I didn't know RSA algo was banned or under export restrictions in the 1990ies in the US.  Shocked
DaveF
Legendary
*
Offline Offline

Activity: 3472
Merit: 6271


Crypto Swap Exchange


View Profile WWW
February 24, 2023, 04:43:24 PM
 #6

Wow, thanks for clarifying, I could have never imagined something like this was possible and actually happened. I didn't know RSA algo was banned or under export restrictions in the 1990ies in the US.  Shocked

Lots of things like that in terms of encryption were and still are banned for export. From what I have seen it's really not something they go after you for, but if you are being charged with a bunch of other crimes that goes with it too.

When they started to craft the law things looked a lot different from the internet / tech world standpoint then when it passed, and the way the world is today it's totally pointless.

-Dave

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
tromp
Legendary
*
Offline Offline

Activity: 978
Merit: 1087


View Profile
February 24, 2023, 05:18:32 PM
Last edit: February 25, 2023, 12:39:45 PM by tromp
Merited by ABCbits (3)
 #7

i found this from adam back's home page that says export crypto sig
the code is :
Code:
 -export-a-crypto-system-sig -RSA-3-lines-PERL

#!/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
$/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)


i not a coder or developer so asking this , what is meaning of export crypto sig
http://www.cypherspace.org/adam/rsa/

The guide at http://www.cypherspace.org/adam/rsa/rsa-details.html works for me on my MacOS:

Code:
$ cat > rsa
#!/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
$/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)
$ wc rsa
       3       7     178 rsa
$ echo "squeamish ossifrage" | ./rsa -k=10001 -n=1967cb529 > msg.rsa
-i used with no filenames on the command line, reading from STDIN.
$ ./rsa -d -k=ac363601 -n=1967cb529 < msg.rsa
-i used with no filenames on the command line, reading from STDIN.
squeamish ossifrage
$

Should work just as well on any Linux system...
It encrypts the message by taking numbers modulo 6819722537 (1967cb529 in hex) to the power 65537 (10001 in hex), and decrypts by taking numbers modulo 6819722537 to the power 2889233921 (ac363601 in hex),
which gives back the original since 65537 * 2889233921 = 1 mod phi(6819722537).
Note that n=6819722537 is the product of two primes p=66593 and q=102409 and thus phi(n) = (p-1)*(q-1).
See https://en.wikipedia.org/wiki/RSA_(cryptosystem) for details.

The seemingly odd choice of plaintext is explained in

https://en.wikipedia.org/wiki/The_Magic_Words_are_Squeamish_Ossifrage
PowerGlove
Hero Member
*****
hacker
Offline Offline

Activity: 511
Merit: 4060



View Profile
July 07, 2023, 08:39:06 AM
 #8

IMO, it's worth reading Adam Back's post (with the original 5-line version), and Hal Finney's reply: http://www.cypherspace.org/adam/rsa/org-post.html.

I think it says a lot about that era (and the concentration of talent on the Cypherpunks mailing list) that something like that was posted and within ~8.5 hours it was analyzed (cold), understood, and praised.
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!