Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 03-04-2013, 03:49 PM   #1
jolt
Junior Member
jolt began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Mar 2013
Device: K3Keyb 3G
GPG or BlowFish

Is possible to encrypt any text or sms in my kindle 3 K?

Anybody can help me to make this? I can compile it in C. Using OpenSSL lib or not.

Only symetric encrypt
jolt is offline   Reply With Quote
Old 03-04-2013, 09:55 PM   #2
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
[root@kindle root]# which openssl
Quote:
/usr/bin/openssl
That's on a bog-standard kindle 3. As-in like it was delivered... untouched, virgin, etc.

Code:
Standard commands
asn1parse      ca             ciphers        crl            crl2pkcs7      
dgst           dh             dhparam        dsa            dsaparam       
ec             ecparam        enc            engine         errstr         
gendh          gendsa         genrsa         nseq           ocsp           
passwd         pkcs12         pkcs7          pkcs8          prime          
rand           req            rsa            rsautl         s_client       
s_server       s_time         sess_id        smime          speed          
spkac          verify         version        x509           

Message Digest commands (see the `dgst' command for more details)
md2            md4            md5            rmd160         sha            
sha1           

Cipher commands (see the `enc' command for more details)
aes-128-cbc    aes-128-ecb    aes-192-cbc    aes-192-ecb    aes-256-cbc    
aes-256-ecb    base64         bf             bf-cbc         bf-cfb         
bf-ecb         bf-ofb         cast           cast-cbc       cast5-cbc      
cast5-cfb      cast5-ecb      cast5-ofb      des            des-cbc        
des-cfb        des-ecb        des-ede        des-ede-cbc    des-ede-cfb    
des-ede-ofb    des-ede3       des-ede3-cbc   des-ede3-cfb   des-ede3-ofb   
des-ofb        des3           desx           idea           idea-cbc       
idea-cfb       idea-ecb       idea-ofb       rc2            rc2-40-cbc     
rc2-64-cbc     rc2-cbc        rc2-cfb        rc2-ecb        rc2-ofb        
rc4            rc4-40
that do you?

Last edited by twobob; 03-04-2013 at 11:17 PM. Reason: That's on a bog-standard kindle 3
twobob is offline   Reply With Quote
Advert
Old 03-06-2013, 03:48 AM   #3
jolt
Junior Member
jolt began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Mar 2013
Device: K3Keyb 3G
Yes, but tell me what i can use it?

Simple example:
encrypt

echo "Test" | openssl enc -aes-256-cbc -salt -a
jolt is offline   Reply With Quote
Old 03-06-2013, 05:48 AM   #4
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
[root@kindle root]# echo "Test" | openssl enc -aes-256-cbc -salt -a
Quote:
enter aes-256-cbc encryption password:
Verifying - enter aes-256-cbc encryption password:
U2FsdGVkX1+4IaFNTng94KHDMtp2hLd2iLpceH8Ufj4=
??? I don't know what you mean... That works just fine...

[root@kindle root]# echo "test" > /mnt/us/blowtest
[root@kindle root]# cat /mnt/us/blowtest | openssl enc -aes-256-cbc -salt -a
Quote:
enter aes-256-cbc encryption password:
Verifying - enter aes-256-cbc encryption password:
U2FsdGVkX1+uPTQXBAHJf1nv1T2+QFaeXoHOYO3qrMQ=
What's the problem? To be honest, I am no encryption expert.

Last edited by twobob; 03-06-2013 at 05:52 AM.
twobob is offline   Reply With Quote
Old 03-06-2013, 06:21 AM   #5
jolt
Junior Member
jolt began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Mar 2013
Device: K3Keyb 3G
Problem is:

1. I have kindle 3 keyboard
2 I'm haven't any computer only kindle.
3. What i can encrypt and decrypt message?
4. I have jailbreak.

I think i must write a program with gui to use it but what i can to do this? Can You help me?
jolt is offline   Reply With Quote
Advert
Old 03-06-2013, 06:53 AM   #6
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
dude.

I did that all on the kindle keyboard.

You can use myts to do that.

No gui required just a terminal surely.. and a shell script maybe.
twobob is offline   Reply With Quote
Old 03-06-2013, 06:54 AM   #7
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
if you WANT to write a gui driven program then use gtk.

There are a few examples of me building a gtk application on here for the 3.

(I think the kterm thread has an example on there)
twobob is offline   Reply With Quote
Old 03-06-2013, 11:44 AM   #8
jolt
Junior Member
jolt began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Mar 2013
Device: K3Keyb 3G
Where?

Quote:
Originally Posted by twobob View Post
if you WANT to write a gui driven program then use gtk.

There are a few examples of me building a gtk application on here for the 3.
Ok, tel me where is example in C and gtk.

terminal is not good idea because .[ba]sh.loging
jolt is offline   Reply With Quote
Old 03-06-2013, 12:44 PM   #9
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
okay Ill dig one up...

I did say in the kterm thread.

Have to be a couple of hours Im going out
twobob is offline   Reply With Quote
Old 03-06-2013, 11:51 PM   #10
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
https://www.mobileread.com/forums/sho...06&postcount=6
twobob is offline   Reply With Quote
Old 03-07-2013, 04:32 AM   #11
jolt
Junior Member
jolt began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Mar 2013
Device: K3Keyb 3G
This is for kindle touch not kindle keyboard 3g ;(

KKeyb have any XServer? In my opinion not.

is any emulator of kindle?
jolt is offline   Reply With Quote
Old 03-07-2013, 05:44 AM   #12
hawhill
Wizard
hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.
 
hawhill's Avatar
 
Posts: 1,379
Karma: 2155307
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kobo Mini
No emulator (I think there is some Java framework emulation in the KDK, though). The K3 doesn't have an X server by default, right. But it has a DirectFB-linked (I think) GTK. Not that I would suggest to use it, though.

I still don't have any idea why you would want to develop this way. Why not simply use console applications? You can always wrap everything in a console program, shell script, whatever. I don't even have an idea of what you really want to archieve. You don't really explain it.
hawhill is offline   Reply With Quote
Old 03-07-2013, 08:33 AM   #13
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
Unhappy

Quote:
Originally Posted by jolt View Post
This is for kindle touch not kindle keyboard 3g ;(

KKeyb have any XServer? In my opinion not.

is any emulator of kindle?
what?

that link was for a 3. your device is listed as a 3.

I can barely understand what you are asking for.

and like hawhill have even less idea why you want to do it. please get a better translation or something.
twobob is offline   Reply With Quote
Old 03-07-2013, 09:10 AM   #14
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by jolt View Post
This is for kindle touch not kindle keyboard 3g ;(

KKeyb have any XServer? In my opinion not.

is any emulator of kindle?
http://www.gerv.net/hacking/how-to-ask-good-questions/
knc1 is offline   Reply With Quote
Old 03-07-2013, 09:19 AM   #15
jolt
Junior Member
jolt began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Mar 2013
Device: K3Keyb 3G
Quote:
Originally Posted by hawhill View Post
No emulator
Whole emulator like VirtualBox,qemu etc.
Pity.

terminal is not comfortable.

[I probe to write program. meybe lua is good options to write gui and wxwidges but big library]
jolt is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump


All times are GMT -4. The time now is 10:45 AM.


MobileRead.com is a privately owned, operated and funded community.