トピック
Myth XFaze Metrix007

Binary Encryption/Decryptions

i learned how to read binary code and i wanted to make an encrypter that would change a file to bianary then when useing a decryption augorithem to make it back to the code or message. So here is the question how do i assign a charater to # like EX.A=00001 b=00010 g=00111 SO hlp pls Bag=000100000100111 ↑↑↑↑↑↑↑↑↑↑↑↑↑↑ just fun fact.but still need question answered
2そうだね
プレイ済み
返信[1]
親投稿
Zee Storybookten9
This is a more complex question than it may seem at first. Generally, you will need to do it yourself if you want to convert a character to a number string. You can have a list of characters ["a","b"...] corresponding with a list of replacements ["00001","00010"...] and then go through the list of characters and use SUBSTR$ to change the characters to the corresponding characters
2そうだね
プレイ済み
返信[2]
親投稿
Myth XFaze Metrix007
can i have a visual example pls i learn easyer that way and thx
1そうだね
プレイ済み
返信[3]
親投稿
Zee Storybookten9
A visual example? Umm, I guess I can write it in sub-code? Create array CHAR and REP Set CHAR to ["A","B","C",etc.] Set REP to everything you need to replace the characters with in the same order as CHAR FOR I=0 to LEN(CHAR)-1 Replace the characters in the conversion string to the REP string NEXT I don't know what else you mean
3そうだね
プレイ済み
返信[4]
親投稿
TN21 Trinitro21
I think something like this might do what you're looking for I haven't tested it so I have no idea if it will actually work DEF TOBIN$(C$) OUT$="" FOR I=0 TO LEN(C$)-1 OUT$=OUT$+BIN$(ASC(C$[I])) NEXT RETURN OUT$ END PRINT TOBIN$("HELLO WORLD")
2そうだね
プレイ済み
返信[5]
親投稿
Myth XFaze Metrix007
Thank you so verry much for doing this im going to fallow u bc u seem verry smart about this language [basic] and do you know if this language is similar too VisualBasic.last thing...this sounds like a childish thing too say but bro...remember im 14 wanna be friends? im going to make a quick game and i want you too play it. :] it wont take long.
1そうだね
プレイ済み
返信[6]
親投稿
Myth XFaze Metrix007
^^^ too zee
1そうだね
プレイ済み
返信[7]
親投稿
Myth XFaze Metrix007
also i ment a pic by visual
1そうだね
プレイ済み
返信[8]
親投稿
Aaron Krondelo
You know a pic is just going to show the same exact code yeah?
1そうだね
プレイ済み
返信[9]
親投稿
Zee Storybookten9
I'm pretty sure SmileBASIC is similar to VisualBasic. I'd assume they're both different types of BASIC, but I've never used VisualBasic. I don't like using pictures of exact code, because it takes the learning out of it for me. It's why I failed at C at first, I just learned to copy bits of code. But I don't know if it works the same for others. I'd love to play a game that you make.
1そうだね
プレイ済み
返信[10]
親投稿
Myth XFaze Metrix007
here i made you a game its for you i think or to you i forget the name but its one of thoes
0そうだね
プレイ済み
返信[11]
親投稿
Myth XFaze Metrix007
to all
0そうだね
プレイ済み