English
Source / code snippets

Vigenère-Obfuskator

 

p.specht

Vigenère is in the integral a Caesar-Verschlüssellung, with the The Rotationsweite but of zugeordneten Schlüsselbuchstaben certainly becomes. was former unknackbar, as long as the Key At least as long is How the To verschlüsselnde Text, and never More wiederverwendet becomes. Then it to that undertow. One-pad Key - but How transfers one then whom Key abhörsicher? The should long long in the ahead already distributed been his!
Windowstyle 24:Windowtitle "For your eyes only, Vigenere!":cls
declare a$,b$,c$,d$
'Key:
c$="Der small Vigenere!"
'a$="For your eyes only! 0123456789+-*: ?"
a$="":whileloop 0,255:a$=a$+chr $(&Loop):endwhile
Start:
font 2:print "\n To verschlüsselnde message: ":font 0:print a$
b$=""

whileloop len(a$)

    b$=b$+chr $( (ord(mid$(a$,&Loop,1)) + ord(mid$(c$,(&Loop mod len(c$))+1,1))) mod 256)

endwhile

font 2:print "\n           boxnumber: ":font 0:print b$
clearclip:putclip b$
font 2:print " ==> Clipboard!"
d$=""

whileloop len(b$)

    d$=d$+chr $( (ord(mid$(b$,&Loop,1)) - ord(mid$(c$,(&Loop mod len(c$))+1,1))) mod 256)

endwhile

font 2:print "\n      Dechiffriert: "
font 0:print d$
print

if a$<>d$:font 2:print "\n *** ERROR ***"

    sound 2000,200:waitinput 100
    sound 2000,200:waitinput 100
    sound 2000,200:waitinput

else

    print "\n  OK."

endif

waitinput
cls
print "\n your Geheimbotschaft: ";
Input a$:case a$="":end
goto "Start"
 
XProfan 11
Computer: Gerät, daß es in Mikrosekunden erlaubt, 50.000 Fehler zu machen, zB 'daß' statt 'das'...
05/25/21  
 



Zum Quelltext


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

1.348 Views

Untitledvor 0 min.
Walter11/28/22
p.specht11/21/21
R.Schneider11/20/21
Uwe Lang11/20/21
More...

Themeninformationen

this Topic has 1 subscriber:

p.specht (1x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie