If you have a problem or need to report a bug please email : support@dsprobotics.com
There are 3 sections to this support area:
DOWNLOADS: access to product manuals, support files and drivers
HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects
USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here
NEW REGISTRATIONS - please contact us if you wish to register on the forum
Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright
simple encryption system
30 posts
• Page 3 of 3 • 1, 2, 3
Re: simple encryption system
I still don't get it, reading this:
http://www.tntbasic.com/learn/help/guid ... lained.htm
because I still don't know how letters from my language refer to that.
But it does not matter. If works with english and with polish (may not work?), then it's enough.
http://www.tntbasic.com/learn/help/guid ... lained.htm
because I still don't know how letters from my language refer to that.
But it does not matter. If works with english and with polish (may not work?), then it's enough.
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
Feel free to donate. Thank you for your contribution.
- tester
- Posts: 1786
- Joined: Wed Jan 18, 2012 10:52 pm
- Location: Poland, internet
Re: simple encryption system
There was some type of 64 bit [?] encode/decode on the SM forum, or it was in one of the construction 'tool kits' that maybe TROG or someone else put together. No doubt it was 'green', and in OSM format.
- RJHollins
- Posts: 1571
- Joined: Thu Mar 08, 2012 7:58 pm
Re: simple encryption system
You mean this one?
http://synthmaker.co.uk/forum/viewtopic ... 09&p=74822
For some reason it tends to trim longer texts (tested on just "text text ..." multiline).
http://synthmaker.co.uk/forum/viewtopic ... 09&p=74822
For some reason it tends to trim longer texts (tested on just "text text ..." multiline).
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
Feel free to donate. Thank you for your contribution.
- tester
- Posts: 1786
- Joined: Wed Jan 18, 2012 10:52 pm
- Location: Poland, internet
Re: simple encryption system
that's it ...
the author mentions:
the author mentions:
The base64 module I created,
it can easily be modified for different needs, it could also convert all characters,
just remove the filter during encodiing or add a filter to parse the MIME specification,
actually a MIME base64 string does not exceed 76 characters.
But used for many purposes there is no limit to the string to create,
I also added the characters space and return, so the string is already divided as a arrary.
However, just proceed to split a string of 4 base64 characters at a time.
- RJHollins
- Posts: 1571
- Joined: Thu Mar 08, 2012 7:58 pm
Re: simple encryption system
I overlooked that info, thanks.
After I finish here, I will just wire an example ("typical" length) project, and see what happens on conversion using Trog's module.
After I finish here, I will just wire an example ("typical" length) project, and see what happens on conversion using Trog's module.
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
Feel free to donate. Thank you for your contribution.
- tester
- Posts: 1786
- Joined: Wed Jan 18, 2012 10:52 pm
- Location: Poland, internet
Re: simple encryption system
@Trog
it is allright implemented, not needed any external lib or gem to do this.
it is allright implemented, not needed any external lib or gem to do this.
- Code: Select all
encode_base64 = [@str].pack('m')
decode_base64 = encode_base64.unpack('m')[0]
- Tronic
- Posts: 539
- Joined: Wed Dec 21, 2011 12:59 pm
Re: simple encryption system
Wow Tronic ...
that is really great Thanks for sharing that
that is really great Thanks for sharing that
- RJHollins
- Posts: 1571
- Joined: Thu Mar 08, 2012 7:58 pm
Re: simple encryption system
Yep, seems to work fine.
Should I expect any limitations on this one?
Should I expect any limitations on this one?
- Attachments
-
- enc-dec.fsm
- (529 Bytes) Downloaded 816 times
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
Feel free to donate. Thank you for your contribution.
- tester
- Posts: 1786
- Joined: Wed Jan 18, 2012 10:52 pm
- Location: Poland, internet
Re: simple encryption system
One question I thought ... as to security/protection.
Not that I know ... but, what I don't see is any 'key' setting ... so, if someone wanted to 'decode' [even for experiment], wouldn't it be as simple as running through a base64 decoder ? [making a good guess that this was the type used]
Maybe this is not the real intent of the 'encryption' roll. But what if you needed it 'keyed' ? could this be incorporated ?
thanks!
Not that I know ... but, what I don't see is any 'key' setting ... so, if someone wanted to 'decode' [even for experiment], wouldn't it be as simple as running through a base64 decoder ? [making a good guess that this was the type used]
Maybe this is not the real intent of the 'encryption' roll. But what if you needed it 'keyed' ? could this be incorporated ?
thanks!
- RJHollins
- Posts: 1571
- Joined: Thu Mar 08, 2012 7:58 pm
Re: simple encryption system
you ca use the entropy method.
string[N byte] -> encode
[N byte] of preview of encoded string, added(before,after, or mixed) with your new encoded string. (this is your key)
and when decode use the inverse system. only you know how decode the string.
yes, is possible to get some of data, with simple decode string in base64, but is not clear at all.
string[N byte] -> encode
[N byte] of preview of encoded string, added(before,after, or mixed) with your new encoded string. (this is your key)
and when decode use the inverse system. only you know how decode the string.
yes, is possible to get some of data, with simple decode string in base64, but is not clear at all.
- Tronic
- Posts: 539
- Joined: Wed Dec 21, 2011 12:59 pm
30 posts
• Page 3 of 3 • 1, 2, 3
Who is online
Users browsing this forum: Google [Bot] and 60 guests