- 98
- 771 171
PS After Hours
เข้าร่วมเมื่อ 17 ก.ค. 2019
RSA PrivateKey to PublicKey conversion in Java
The Private-Public Key Infrastructure is a foundation of modern security and cryptography. We use private keys to sign or encrypt messages and public keys to decrypt or verify messages. Your app probably will have to use or store both types. But do you now you can convert a Java security RSA PrivateKey object to a PublicKey object? And it’s quite simple too
Java code how to convert RSA Private Key to a RSA Public Key github.com/ps-after-hours/private-to-public-key
How read a Private Key from PEM PKCS#8 file in Java th-cam.com/video/16ZCvUNQqrA/w-d-xo.html
0:00 Public and Private Key, what is what
1:40 How to convert RSA Private Key to Public Key in Java
2:35 Java code walkthrough
3:26 RSA PrivateKey to PublicKey converter
4:18 Summary
Java code how to convert RSA Private Key to a RSA Public Key github.com/ps-after-hours/private-to-public-key
How read a Private Key from PEM PKCS#8 file in Java th-cam.com/video/16ZCvUNQqrA/w-d-xo.html
0:00 Public and Private Key, what is what
1:40 How to convert RSA Private Key to Public Key in Java
2:35 Java code walkthrough
3:26 RSA PrivateKey to PublicKey converter
4:18 Summary
มุมมอง: 1 682
วีดีโอ
How to read CSV files in Java with OpenCSV
มุมมอง 5Kปีที่แล้ว
github.com/ps-after-hours/read-csv-with-opencsv In this tutorial, we will learn how to read a CSV file in Java using the OpenCSV library. CSV files are commonly used to store data in a tabular format, and OpenCSV provides an easy-to-use interface for parsing these files. In this example, we create a CSVReader object by passing a FileReader object to its constructor. We then read the file line b...
How read a Private Key from PEM PKCS#8 file in Java
มุมมอง 6Kปีที่แล้ว
Let me show you how to load a Private Key stored in the PEM PKCS#8 file in Java. We will read the file, parse it, remove not needed header and footer and create a new java.security.PrivateKey object that can be later used in our App for cryptography needs. PEM PKCS#8 is a format for storing private keys in a text file. It is specified in the Public-Key Cryptography Standards (PKCS) #8, which de...
eSun eBOX Lite 3D printing filament dryer
มุมมอง 13K2 ปีที่แล้ว
eSun eBox Lite bit.ly/2WbWtFR Some filament types, like TPU or Nylon, absorb moisture. It's bad, because when the filament is heated up into the printer's nozzle, water evaporates, bubbles up, and negatively affects the final results. This is why some filament types have to be kept dry and dried from time to time. eSun eBox Lite acts as a filament box with an integrated drier. www.esun3d.net/pr...
Lightweight 3D Printing - eSun ePLA-LW
มุมมอง 2.3K2 ปีที่แล้ว
Finally! ColorFabb LW-PLA is no longer the only lightweight PLA 3D printing filament on the market. Now we have eSun ePLA-LW as well, and I got one spool of it to see if it's any good. Let's see how the eSun light, foaming PLA filament is working and what the problems are with it. Because yes, there are at least two. eSun ePLA-LW bit.ly/3g1KLDF Sentinel AAT bit.ly/34QG5eA 0:00 Intro 0:58 eSun L...
Why Elon Musk bought Twitter and why people will be fired?
มุมมอง 5652 ปีที่แล้ว
Elon Musk bought Twitter to fight for the freedom of speech. I don’t believe it. He did it to earn more money. How? Monetize and reduce costs. And we all know that the “best” way to reduce costs is to fire your employees. Ten managers for single developer? Perhaps. But will he fire developers as well? Not sure about that. What is a NFT and how it works? th-cam.com/video/wfxa9izsssA/w-d-xo.html ...
How STM32 Alternate Functions work
มุมมอง 2K2 ปีที่แล้ว
STM32 microcontrollers are one of the most popular MCUs in the world. There are many reasons for that. The Input/Output flexibility is not one of them. All SMT32 microcontrollers have a limited IO matrix that allows general input-output pins to work only with selected peripherals. There is no easy swap of pin functions. Some pins can be only UARTs, some only SPI, and some work only with 1 or 2 ...
Difference between authentication and authorization
มุมมอง 2.2K2 ปีที่แล้ว
Difference between authentication and authorization
What's the BEST open source license for your project?
มุมมอง 3.9K2 ปีที่แล้ว
What's the BEST open source license for your project?
How to verify a JWT token in JavaScript and Node.js?
มุมมอง 8K2 ปีที่แล้ว
How to verify a JWT token in JavaScript and Node.js?
JWT claims explained: registered, public and private
มุมมอง 6K2 ปีที่แล้ว
JWT claims explained: registered, public and private
How to revoke a JWT token | The JWT lifetime, blacklist and not-before policy
มุมมอง 9K2 ปีที่แล้ว
How to revoke a JWT token | The JWT lifetime, blacklist and not-before policy
How to generate JWT token in Java | JWT, RSA256 and Auth0
มุมมอง 13K2 ปีที่แล้ว
How to generate JWT token in Java | JWT, RSA256 and Auth0
How to verify a JWT token in Java | JWT, Keycloak, RSA256 and Auth0
มุมมอง 18K2 ปีที่แล้ว
How to verify a JWT token in Java | JWT, Keycloak, RSA256 and Auth0
What is JWT? The JSON Web Token introduction
มุมมอง 4.2K2 ปีที่แล้ว
What is JWT? The JSON Web Token introduction
The oscilloscope usage example | Rigol DS1054Z basics
มุมมอง 11K2 ปีที่แล้ว
The oscilloscope usage example | Rigol DS1054Z basics
Crypto Miners hacked my AWS account and I lost $500
มุมมอง 9372 ปีที่แล้ว
Crypto Miners hacked my AWS account and I lost $500
GPS locator with Arduino and LoRa | part 2
มุมมอง 2.5K2 ปีที่แล้ว
GPS locator with Arduino and LoRa | part 2
Long Range Beacon with LoRa, ESP32 and Arduino
มุมมอง 4.4K2 ปีที่แล้ว
Long Range Beacon with LoRa, ESP32 and Arduino
How to protect NPM from corrupted libraries?
มุมมอง 1292 ปีที่แล้ว
How to protect NPM from corrupted libraries?
Wireless Dremel tool? Sure, Greenworks V8 is here!
มุมมอง 4.2K2 ปีที่แล้ว
Wireless Dremel tool? Sure, Greenworks V8 is here!
What's inside $70 10A bench power supply? PS-3010DF
มุมมอง 1.9K3 ปีที่แล้ว
What's inside $70 10A bench power supply? PS-3010DF
Corrupted NPM libs - Faker and Colors - the dark side of Open Source
มุมมอง 1.6K3 ปีที่แล้ว
Corrupted NPM libs - Faker and Colors - the dark side of Open Source
If I don't take my filament out, does it still keep the moisture out, or does it need to run all the time?
You don't specify the component values on the screm - would have been helpful to say how to match impedance, and how to select different slopes and frequencies by changing the values or introducing another stage.
Nice stuff and good video. Any chance to get some more info? a github repository for schematics and code? Really wish to implement this puppy in some airsoft games :D
I wouldn't call GPL/LGPL a "virus license", though I agree that they're PITA to work with. I 100% agree that MPL is the best copyleft license to use for a free software developer.
Why are Polish people so cool ?
That is correct. The white polish people can say "negro"
this video fixed my synching problem. I had to turn off and back on the WIFI in settings. Thanks!
Bless you dude! Saved me a lot of time.
Its gonna break if you do it manually.
Can you name a single battle for the independence of Haiti that the Poles participated in on the side of Haitians? Haitians won their freedom pretty much on their own. The British fleet contributed more to the Haitian victory over Bonaparte's army since they made resupplying the French forces on the island almost impossible. The Polish troops were recognized as victims of Bonaparte's treachery and treated as such by Jacques I of the empire of Haiti. I don't see a need to exaggerate the role played by the Poles as this and many other videos do.
Two infantry battalions were formed from Polish soldiers in Haitian service, whose task was to guard prisons containing the French. Polish legionnaires were told that they would defend and implement the slogans of the French Revolution in order to perpetuate the principles of liberty, equality and fraternity. When they arrived in Haiti, they realized that they had been sent to suppress the fight for freedom while they themselves were fighting for the independence of their country in Europe, which is why legions of Polish soldiers were formed. Some Poles sided with the Haitians fighting for independence. A series of French military defeats forced them to evacuate the island. On January 1, 1804, Haiti proclaimed its independence. The similarity of the situation of the two peoples fighting for freedom, the Polish and the Haitian, was understood even by Dessalines, who called the Poles "the white Negroes of Europe".
@yamahar3d794 "The similarity of the situation of the two peoples fighting for freedom, the Polish and the Haitian, was understood even by Dessalines, who called the Poles "the white Negroes of Europe"." You come off as condescending with that "even by Dessalines" remark. Thank you for confirming that the Poles played a minor role in Haiti's fight for independence.
I went on google and it directed me to reddit about the whole thing and one comment broke me. "Poland can into n-word" And a hungarian guy beging us for the pass XD
Thank you so much! I've been looking for a working solution with the limited resources and knowledge I had for 2 days, but this one actually hits the mark!
Old stereo still works new one needs new solder points i think they changed because leaded takes more heat❤️
Fajny test, dobrze zrobione wideo, i ten angielski dość dobrze zrozumiały, jak dla mnie, rodaka :) pozdrawiam :)
thank you soooo much! i was struggling to understand the diff's between the two but this vid really helps me!!
Glad it helped!
I had the issue that my cloud was full so files weren't syncing, but when I cleared out the cloud they still would not sync. I made a copy of the particular file I really needed, and the copy synced almost immediately. It seems like this affects files that have the same name which makes certain things like a weekly shopping list difficult to update; you have to keep creating brand new ones.
Such a great explanation, thanks!
Glad it was helpful!
Try a directional antenna like a moxon or lpa. Aiming it would add to a little work, tough but would add to signal strength and thus range.
KAAS LUTOWNICZY na pudełku!! Hehe
😊....I gave up too 😊 .... financial issue, have to buy 2 Arduino UNO R3 boards to test it out🤷🏽♂️
i love it.
Mine worked fine for 2 years and now Open Weather has changed their API and it stopped working. The code needs to be modified to use the new API but so many libraries have changed in Arduino since I flashed it that it’s a nightmare trying to get it to work again. Anyone else have this problem?
I recently set this up and did not have such issues. Would you like to connect?
@ Yes, I’d like to know what code you’re using and what IDE version you have.
Id like to see a video like this on ebike battery packs with unknown brands of cells claiming high AH and using 18650 cells. I doubt many people do the math, but i have a bike that uses 96 18650 cells and claims 52 volt 25 AH, 1300 watt hours which breaks down to 3660 mwh per cell. Seems possible but not likely
The second solder was very quick. Using a cloth soaked in water and applying to the area immediately after soldering helps cool the area down.
Polish people use murzyn word originated from moor doesn't translate to black.
I'm confused, you suggest only allowing refresh tokens to live for 15-20 minutes, so then wouldn't a client have to re-authenticate with login credentials every 15-20 minutes to access your service? That sounds like a pretty terrible user experience.
token exp=5mins refresh token exp = 15 - 20mins The user is supposed to be logged out after 5 minutes, but the refresh_token will be used by the client to make a new request for the new token. This new token will also have a new refresh token. In a typical web app, the Front End checks if the user has been active for the last 5 minutes and makes the request on his behalf. Otherwise, after 5 minutes, the user is logged out.
Saved my life man! I only had console access to a VM through its hypervisor and there was no key to type the colon. ALT+ASCII wouldn't work either. I didn't know ZZ would do the trick. I was able to map the MACs with their interface properly with that trick to regain remote access. Thanks a lot!
Best video, best hardware <3 great !
This video was a very good clarification for me for what gets "infected" and what not by the GPL license. Thank you very much!
07:13-09:00 makes no sense. I really didn't get it. I will watch your other video that you explained better. However, thanks for your effort to share your knowledge. You're a valuable person. Keep fighting! Edit: Maybe you can try to explain it with really easy numbers. Edit2: You said that voltage can not exist without current. I can not fully agree with this. The voltage is potential difference between two nodes. It can exist without current/load. Such as batteries or I can give the best example as static electric. It is static. There is a potential difference and no current.
PS, thanks for the videos. Great Stuff (been having fun with your 433 mHz content). Formerly, I would solder to 18650 batteries despite the warnings. But I came across a cordless hand-held spot welder for less than $20US. That tool, plus some nickle strips was all I needed. I use two contact/landings that result in 4 weld points at each battery terminal. Very, very tough. Hope that helps you and your followers!
MAXIMUM 18650 CAPACITY *_ANY 18650 lithium ion cell_* claiming above 3,300mAh should START OUT as suspect. Proceed VERY carefully. If one is willing to pay really high $$ for a VERY high quality 18650, manufacturers can *_legitimately_* eke out about 3,500mAh from an 18650 cell but to get there usually requires tradeoffs like a reduced number of recharge cycles and a very high price. With SOME manufacturer/dealer exceptions...anyone claiming more than 3,500mAh for an 18650 cell either 1) used "non-standard" testing protocols/criteria 2) got the wrong information from their lithium battery supplier (or there was a data error of some sort) 3) is just PLAYING with the numbers on which you are depending for possibly critical work. If you are more curious about lithium cells in particular, use an internet search phrase like, [ *_what is a realistic maximum mAh capacity for an 18650 lithium cell?_* ] A good source of battery information in general is batteryuniversity.com It's also very readable.
Just started getting an Error 400 when trying to sync my RM2. Can't figure out any way to fix it.
Hey, This is Hanxie. I was wondering if you’d be interested in a paid collaboration with us. Let me know if this is something you’d like to explore, and we can discuss further details. Looking forward to hearing from you! Best, Hanxie -- Does this work for your needs, or would you like to adjust anything further?….
WIEDZIALEM TERAZ ZNAM PRAWDE
Thanks for sharing your technique. Keeping the heat down on these batteries is essential and this helps. I've tried to find some phosphoric acid or solder acid in the states that contain it, but I've come up short or have to buy a gallon of it for an obscene amount. Can you provide a link for this product please? Thanks!
Would I be able to use a raspberry pi zero for this? Great looking project
Thank you!!!
Leaded solder from AliExpress?
I lost my github and they wouldn't let me push it to a public repo with my license in jacksonville florida... So I'm not running my own open source project and people just steal all my equipment and keys... I put LGPL in code base...
Thx guy
Who the hell will know if I sell the application which use GPL licensed library? The source code will not be available, and the application will be compiled into an executable and encrypted... Lets say library owner found out and detected that I'm selling my program which used his GPL licenced library as part of it. What he gonna do lol?! It can be problematic If you live in USA or some Karen country. But If you live in third-world shithole country, they can't do shit to you. And you are clean as fuck and can sell the program freely
helpful thanks
Ill never trust chinese or second hand 18650 in my mechanical vape. Those are the biggest reasons why they blow up in your pocket
I still have questions, how does it work with products made from a software under the GPL that are not applications ? Like texts, pictures or musics made with GPL softwares, do they have to follow some rules or does it only applies with applications. And does it work the same with videogames ?
Excellent explanation! How would you impedance match a high frequency high voltage LC circuit like say a Tesla coil with a normal 120 volt 60 hertz AC output load?
excellent explanation. thank you, sir <3
it was very helpful for me , thanks
Thanks for the video.
In the UK we say solder