🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.java
Article #142004

Re: j2me i szyfrowanie

#142004
From: Adam Elente
Date: Thu, 30 Oct 2008 07:12
27 lines
2193 bytes
pz pisze:
> Użytkownik "Adam Elente" <aelent012@ekrj1.hiweuo.net> napisał w wiadomości 
> news:geaik2$qiu$2@nemesis.news.neostrada.pl...
>> Znalazłem taki oto przykład
>> http://www.java-tips.org/java-me-tips/midp/encrypting-decrypting-text-messages-with-bouncy-castle-crypt-3.html
>> niestety nie kompiluje się znajduje błedy.
>>
>> Czy ktoś mógłby mi powiedzieć jak zaszyfrowac string używając
>> BouncyCastle w j2me ?
> 
> To podaj te błedy.
Proszę:
Running in the unidentified_third_party security domain
java.lang.NoClassDefFoundError: java/math/BigInteger: Cannot create
class in system package
	at CryptoTest$EnterMessage.<init>(+16)
	at CryptoTest$AskForKey.commandAction(+118)
	at javax.microedition.lcdui.Display$DisplayAccessor.commandAction(+282)
	at javax.microedition.lcdui.Display$DisplayManagerImpl.commandAction(+10)
	at com.sun.midp.lcdui.DefaultEventHandler.commandEvent(+68)
	at com.sun.midp.lcdui.AutomatedEventHandler.commandEvent(+47)
	at
com.sun.midp.lcdui.DefaultEventHandler$QueuedEventHandler.handleVmEvent(+186)
	at com.sun.midp.lcdui.DefaultEventHandler$QueuedEventHandler.run(+57)

________
oczywiście może być jakiś prosty sposób szyfrowania. Nie tak rozbudowany.
Technical Details
Message-ID: <gebmr7$a9o$3@nemesis.news.neostrada.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!newsfeed.pionier.net.pl!news.internetia.pl!news.intelink.pl!newsfeed.neostrada.pl!atlantis.news.neostrada.pl!news.neostrada.pl!not-for-mail
References: <geaik2$qiu$2@nemesis.news.neostrada.pl> <geat44$b65$1@news.onet.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!newsfeed.pionier.net.pl!news.internetia.pl!news.intelink.pl!newsfeed.neostrada.pl!atlantis.news.neostrada.pl!news.neostrada.pl!not-for-mail
From: Adam Elente <aelent012@ekrj1.hiweuo.net>
Newsgroups: pl.comp.lang.java
Subject: Re: j2me i szyfrowanie
Date: Thu, 30 Oct 2008 08:12:36 +0100
Organization: TP - http://www.tp.pl/
Lines: 27
Message-ID: <gebmr7$a9o$3@nemesis.news.neostrada.pl>
References: <geaik2$qiu$2@nemesis.news.neostrada.pl> <geat44$b65$1@news.onet.pl>
NNTP-Posting-Host: adrn83.neoplus.adsl.tpnet.pl
Mime-Version: 1.0
X-Trace: nemesis.news.neostrada.pl 1225350823 10552 79.185.173.83 (30 Oct 2008 07:13:43 GMT)
X-Complaints-To: usenet@news.neostrada.pl
NNTP-Posting-Date: Thu, 30 Oct 2008 07:13:43 +0000 (UTC)
User-Agent: Thunderbird 2.0.0.6 (X11/20070728)
In-Reply-To: <geat44$b65$1@news.onet.pl>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit