Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 37 results for
pbe
- Page 1
weird behaviour of char *
Programming
Software Development
11 Years Ago
by nchy13
…clflush dts acpi mmx fxsr sse sse2 ss ht tm
pbe
nx rdtscp lm constant_tsc arch_perfmon pebs bts xtopology nonstop_tsc …clflush dts acpi mmx fxsr sse sse2 ss ht tm
pbe
nx rdtscp lm constant_tsc arch_perfmon pebs bts xtopology nonstop_tsc … dts acpi mmx fxsr sse sse2 ss ht tm
pbe
nx rdtscp lm constant_tsc arch_perfmon pebs bts xtopology nonstop_tsc …
java.security.spec.InvalidKeySpecException: Password is not ASCII
Programming
Software Development
13 Years Ago
by glenak
…PBEKeySpec pbeKeySpec = new PBEKeySpec(password,salt,iterations); //locate
PBE
secret key factory SecretKeyFactory factory = SecretKeyFactory.getInstance("…PBEKeySpec SecretKey key = factory.generateSecret(pbeKeySpec); //locate a
PBE
cipher Cipher cipher = Cipher.getInstance("PBEWithMD5AndDES"); …
HELP! IE, Win Explorer, Control Panel - All Hanging
Hardware and Software
Information Security
18 Years Ago
by mauricewt
… Notify: PCANotify - C:\WINNT\SYSTEM32\PCANotify.dll O23 - Service: APC
PBE
Agent (APCPBEAgent) - APC - C:\Program Files\APC\PowerChute Business Edition…\agent\pbeagent.exe O23 - Service: APC
PBE
Server (APCPBEServer) - APC - C:\Program Files\APC\PowerChute Business Edition…
encryption and throwing exception
Programming
Software Development
13 Years Ago
by rude04
…quot;PBEWithMD5AndDES"); SecretKey passwordKey = keyFactory.generateSecret(keySpec); //
PBE
= hashing + symmetric encryption. A 64 bit random // …quot;PBEWithMD5AndDES"); SecretKey passwordKey = keyFactory.generateSecret(keySpec); //
PBE
= hashing + symmetric encryption. A 64 bit random // number…
Identifying Drivers needed
Hardware and Software
Microsoft Windows
18 Years Ago
by Mishoboy
…: No HTT - Hyper-Threading Technolo:No TM - Thermal Monitor: No
PBE
- Pending Break Enable: No SSE3 Technology: No MON - Monitor/MWait…
Excel & VB
Programming
Software Development
16 Years Ago
by pbrookee
… apparently am not using it correctly. Can anyone help? Thanks.
pbe
Biotech ETF's Can Be a Strong Defensive Play
Community Center
15 Years Ago
by Brian.oco
… Biotech ETF (NYSE: XBI), PowerShares Dynamic Biotech & Genome (NYSE:
PBE
), iShares NASDAQ Biotechnology (NYSE: IBB), First Trust AMEX Biotechnology (NYSE…
Password-Based-Encryption: Checking the password
Programming
Software Development
13 Years Ago
by bops
… PBEParameterSpec(keySpec.getSalt(), keySpec.getIterationCount()); SecretKeyFactory keyFactory = SecretKeyFactory.getInstance("
PBE
"); SecretKey key = keyFactory.generateSecret(keySpec); Cipher cipher = Cipher.getInstance…
To play avi file
Programming
Game Development
10 Years Ago
by kerenh
… clflush dts acpi mmx fxsr sse sse2 ss ht tm
pbe
syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopo…
Re: Can I add additional processors to my PC?
Hardware and Software
Microsoft Windows
15 Years Ago
by flynismo
… : Yes HTT - Hyper-Threading Technology : Yes TM - Thermal Monitor : Yes
PBE
- Pending Break Enable : Yes IA64 Technology : No SSE3 Technology : Yes…
Re: weird behaviour of char *
Programming
Software Development
11 Years Ago
by Ancient Dragon
The reason cores is modified each time a line is read is because cores is a pointer to the file input buffer str1. Change core to just a single char instead of a pointer so that it will not depend on the contents of str1. The condition on line 25 seems to work because of the last condition on that line -- where count == 0 and not because ss doesn…
Re: weird behaviour of char *
Programming
Software Development
11 Years Ago
by nchy13
does it mean that str1 points to the same memory location throughout and each line is stored there only.
Re: weird behaviour of char *
Programming
Software Development
11 Years Ago
by nchy13
here single char will serve the purpose but what if value of cpucores was greater than 10 instead of 2. what shall i use to store it then.
Re: weird behaviour of char *
Programming
Software Development
11 Years Ago
by Ancient Dragon
convert it to int and declare core as int instead of char.
Re: weird behaviour of char *
Programming
Software Development
11 Years Ago
by nchy13
evrything was fine until i inserted 100 to 125 lines in code. i am wondering what kv is doing wrong as it is not even printing that version file was opened.. any sort of help is appreciated. files included in the code are given below for reference. proc/version file: Linux version 2.6.38-15-generic (buildd@panlong) (gcc version 4.5.2 (Ubuntu/…
Re: java.security.spec.InvalidKeySpecException: Password is not ASCII
Programming
Software Development
13 Years Ago
by javaAddict
Can you try to print the pbeKeySpec value and see what it has? Also is there any specific reason that you need to read the input character by character and then copy it to another array? Can you just use the Scanner class to read the whole line and get the password?
Re: java.security.spec.InvalidKeySpecException: Password is not ASCII
Programming
Software Development
13 Years Ago
by glenak
Hi, JavaAddict, pbeKeySpec has three methods: getPassword(), getSalt(), and getIterationCount(), all of which print out the password inputed the reader, the salt set above as an array (byte[] salt), and the int iterations, respectively. So if you run the codes, it asks the user for a password, and whatever the user enters, pbeKeySpec.getPassword…
Re: java.security.spec.InvalidKeySpecException: Password is not ASCII
Programming
Software Development
13 Years Ago
by javaAddict
Well the error says that Password is not ASCII. So maybe if you could print the values of the password array one by one and see what it has. Perhaps the problem is that the last element of the array is the \n new line.
Re: java.security.spec.InvalidKeySpecException: Password is not ASCII
Programming
Software Development
13 Years Ago
by glenak
Hi javaAddict, I followed your suggestion and did this: [CODE] System.out.print("Enter a password: "); BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); String passW = in.readLine(); char[] password = passW.toCharArray(); [/CODE] I pretty much took the string and then converted it to a char array. You were right. …
Re: java.security.spec.InvalidKeySpecException: Password is not ASCII
Programming
Software Development
13 Years Ago
by javaAddict
[QUOTE=glenak;1309286]Hi javaAddict, I followed your suggestion and did this: [CODE] System.out.print("Enter a password: "); BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); String passW = in.readLine(); char[] password = passW.toCharArray(); [/CODE] I pretty much took the string and then converted it to a …
Re: java.security.spec.InvalidKeySpecException: Password is not ASCII
Programming
Software Development
13 Years Ago
by glenak
[QUOTE=javaAddict;1309301]I think that the problem was that when you were reading char by char the input, you were stopping when the new line was read. That means that you were trying to generate a key from a password that contained the \n character. Can you please verify that? Can you use your previous code and print all the elements of the buf…
Re: java.security.spec.InvalidKeySpecException: Password is not ASCII
Programming
Software Development
13 Years Ago
by javaAddict
You stop when the \n is read, but with this code: [ICODE]while((buf[bufPos++] = (char)System.in.read()) != '\n') {}[/ICODE] First you assign the new line in the array: buf[bufPos++] = (char)System.in.read() And then you check for the new line.
Re: HELP! IE, Win Explorer, Control Panel - All Hanging
Hardware and Software
Information Security
18 Years Ago
by Curt
I had this problem. Explorer, all MMC's, IE, could not start or stop services, etc. I found an error related to the PBEserver (APC back-UPS), that I see you are running as well. I uninstalled the APC crap from safe mode and it resolved the issues. Like you, the server had sat unchanged for several month, aside from windows updates. I have …
Re: encryption and throwing exception
Programming
Software Development
13 Years Ago
by masijade
Write a proper class, not a bad hack at a serial program. IOW [i]don't[/i] just put everything in main, and [i]catch[/i] and [i]handle[/i] (when possible) exceptions, don't just declare "throws Exception". The very least you should do is give out a proper error message rather than just dropping out.
Re: encryption and throwing exception
Programming
Software Development
13 Years Ago
by Mattox
masijade is right, since you are new to Java this is just a general structure that I use for Exceptions and Errors, [CODE] public static void main(String[] args) { try { //whatever class call may cause a Throwable Error/Exception //In this case: an instance of the Example class } catch(APossibleException) { //Tell the user …
Re: encryption and throwing exception
Programming
Software Development
13 Years Ago
by rude04
its working now!!Thanks [B]masijade[/B] and [B]Mattox[/B]!!:icon_cheesygrin:
Re: Identifying Drivers needed
Hardware and Software
Microsoft Windows
17 Years Ago
by jai614
i think this is it, click [URL=http://www.soundcard-drivers.com/drivers/131/131526.htm]here[/URL] and for reference the card is: Yamaha YMF740c and that computer could really do with an upgrade :cheesy:
Re: Identifying Drivers needed
Hardware and Software
Microsoft Windows
17 Years Ago
by Mishoboy
Thank You this seems to be the right driver. Thank you again
Re: Excel & VB
Programming
Software Development
16 Years Ago
by Mikepf
max of 65536 rows in Excel so make it your max.
Re: Excel & VB
Programming
Software Development
16 Years Ago
by kb.net
Hi, You can use Range("A:A") and the whole col will be used.
1
2
Next
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Meet People
Forums
Top Members
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC