PS After Hours
PS After Hours
  • 98
  • 650 401
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
มุมมอง: 1 237

วีดีโอ

How to read CSV files in Java with OpenCSV
มุมมอง 3.7Kปีที่แล้ว
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
มุมมอง 4.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
มุมมอง 9Kปีที่แล้ว
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
มุมมอง 1.7Kปีที่แล้ว
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?
มุมมอง 558ปีที่แล้ว
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
มุมมอง 1.6Kปีที่แล้ว
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 ...
How to exit VIM? 4 simple ways
มุมมอง 2.1Kปีที่แล้ว
How to exit VIM? 4 simple ways
Difference between authentication and authorization
มุมมอง 1.5Kปีที่แล้ว
Difference between authentication and authorization
What's the BEST open source license for your project?
มุมมอง 3.1Kปีที่แล้ว
What's the BEST open source license for your project?
How to verify a JWT token in JavaScript and Node.js?
มุมมอง 7Kปีที่แล้ว
How to verify a JWT token in JavaScript and Node.js?
A$$holes versus Open Source software
มุมมอง 1.1Kปีที่แล้ว
A$$holes versus Open Source software
America is METRIC with an extra step
มุมมอง 378ปีที่แล้ว
America is METRIC with an extra step
JWT claims explained: registered, public and private
มุมมอง 4.4Kปีที่แล้ว
JWT claims explained: registered, public and private
JWT best practices for max security
มุมมอง 7Kปีที่แล้ว
JWT best practices for max security
How to revoke a JWT token | The JWT lifetime, blacklist and not-before policy
มุมมอง 7Kปีที่แล้ว
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
มุมมอง 10K2 ปีที่แล้ว
How to generate JWT token in Java | JWT, RSA256 and Auth0
reMarkable 2 Review | The final one!
มุมมอง 2.1K2 ปีที่แล้ว
reMarkable 2 Review | The final one!
How to verify a JWT token in Java | JWT, Keycloak, RSA256 and Auth0
มุมมอง 16K2 ปีที่แล้ว
How to verify a JWT token in Java | JWT, Keycloak, RSA256 and Auth0
What is JWT? The JSON Web Token introduction
มุมมอง 3.7K2 ปีที่แล้ว
What is JWT? The JSON Web Token introduction
The oscilloscope usage example | Rigol DS1054Z basics
มุมมอง 9K2 ปีที่แล้ว
The oscilloscope usage example | Rigol DS1054Z basics
What is a NFT and how it works?
มุมมอง 7342 ปีที่แล้ว
What is a NFT and how it works?
Never crack the ESP32 OLED again
มุมมอง 2K2 ปีที่แล้ว
Never crack the ESP32 OLED again
Crypto Miners hacked my AWS account and I lost $500
มุมมอง 8972 ปีที่แล้ว
Crypto Miners hacked my AWS account and I lost $500
GPS locator with Arduino and LoRa | part 2
มุมมอง 2.2K2 ปีที่แล้ว
GPS locator with Arduino and LoRa | part 2
Long Range Beacon with LoRa, ESP32 and Arduino
มุมมอง 4K2 ปีที่แล้ว
Long Range Beacon with LoRa, ESP32 and Arduino
How to protect NPM from corrupted libraries?
มุมมอง 1252 ปีที่แล้ว
How to protect NPM from corrupted libraries?
Wireless Dremel tool? Sure, Greenworks V8 is here!
มุมมอง 3.6K2 ปีที่แล้ว
Wireless Dremel tool? Sure, Greenworks V8 is here!
What's inside $70 10A bench power supply? PS-3010DF
มุมมอง 1.4K2 ปีที่แล้ว
What's inside $70 10A bench power supply? PS-3010DF
Corrupted NPM libs - Faker and Colors - the dark side of Open Source
มุมมอง 1.6K2 ปีที่แล้ว
Corrupted NPM libs - Faker and Colors - the dark side of Open Source

ความคิดเห็น

  • @thomaswells4976
    @thomaswells4976 3 วันที่ผ่านมา

    That's exactly what I needed in order to get back to using my 1054Z after a 5 year hiatus!

  • @wwscsd
    @wwscsd 4 วันที่ผ่านมา

    i want the arduino code to do a similar test. where can i find it?

    • @PSAfterHours
      @PSAfterHours 4 วันที่ผ่านมา

      github.com/DzikuVx/cheap_433_range_test_receiver github.com/DzikuVx/cheap_433_range_test_sender

    • @wwscsd
      @wwscsd 4 วันที่ผ่านมา

      @@PSAfterHours thanks alot

  • @justinehayward2553
    @justinehayward2553 7 วันที่ผ่านมา

    It's okay. I think it could be a lot better. I find it clunky at times and the sync is an issue. Why no 'force sync'?

  • @jetlinux
    @jetlinux 7 วันที่ผ่านมา

    Great video. Interesting

  • @telfer3388
    @telfer3388 15 วันที่ผ่านมา

    if i remeber corectly The King not just only said that about the Polish soldiers. But after the revolution Granted them Full citizenship of Haiti under the Haitian constitution. And on top of that Dessalines gave them the legal status of "Noir" so they became legally Black.

  • @kdamarol8209
    @kdamarol8209 18 วันที่ผ่านมา

    Ale w języku polskim nie ma takiego słowa jak nig**dr Bo Polacy nie mie mieli kolonizacyjnych zapędów

  • @johnabraham658
    @johnabraham658 18 วันที่ผ่านมา

    Same code download but i am getting IllegalArgumentExecption: Illegal Base64 Character a. Please help what should i do as i read the same pem file

  • @ChibiKeruchan
    @ChibiKeruchan 19 วันที่ผ่านมา

    much better if you fold your solder so you can solder twice as much in one go.

  • @patrick5301
    @patrick5301 22 วันที่ผ่านมา

    and my friend told me that i surely wouldn't know how its done

  • @the_potatoborn
    @the_potatoborn 25 วันที่ผ่านมา

    does anybody know why this is so much more expensive now? nearly 50 euro

  • @mutzielen
    @mutzielen หลายเดือนก่อน

    There's some kind of disturbing irony in how boomers who grew up getting brain damage from leaded gasoline fumes in the air still love the stuff and defend putting it in products like they have some kind of emotional attachment to it

  • @mutzielen
    @mutzielen หลายเดือนก่อน

    The cool thing about sniffing lead fumes is that it gives you brain damage so you're too dumb to realize lead is bad for you so you keep sniffing it.

  • @ArcAiN6
    @ArcAiN6 หลายเดือนก่อน

    This is a TERRIBLE idea. You should NEVER solder onto an 18650 battery. EVER. Soldering onto an 18650 is DANGEROUS!! When you solder onto an 18650, you pass heat into the battery itself. This causes two major problems, both can cause a runaway failure of the battery 1) Applying enough heat to the 18650 battery to "solder" anything to it causes the casing (the metal can it's in) to heat up significantly. this can "melt" the polymer separation film between the two layers. causing a runaway reaction. the battery will then try to swell up as gasses are produced internally, and finally it may EXPLODE. 2) By applying heat in excess of 150c to the battery, you are degrading the LiPo substrate, this will drastically shorten the life of the battery, and may ultimately cause it to fail catastrophically, causing a fire, or explosion, or both. When you degrade the LiPo substrate, it can start to form dendrites, these dendrites are like tiny microscopic spikes, and build up, eventually bridging across the permeable polymer membrane that separates the depleted side from the charged side, once this bridge happens, the battery will significantly heat up during an attempted charge cycle, and may cause a runaway reaction that causes a fire, or explosion. It is NEVER advisable to solder onto an 18650 battery. the warnings you see on these batteries, and elsewhere in documentation for these batteries specifically warn you against excessive heat for this very reason. th-cam.com/video/E3D6V7vEhl0/w-d-xo.html

    • @ChibiKeruchan
      @ChibiKeruchan 19 วันที่ผ่านมา

      The warning are for noobs. and it is really dangerous for noobs to solder these batteries. in the economic side of it noobs are always the one who will surely solder batteries coz they lack money to buy a decent spot welder. but Pros on the other hand won't do it either coz most of the pros already probably have their own spot welder 🤣 only those pros who don't do repair for a living would do such thing (and has no reason to buy a spot welder). and when we say pro.. these are the people who has built in thermal camera in their eyes... they naturally can see how heat is transfer and know what "enough heat" is. the same way a Chief cook on a old school stove. they knew how much heat is enough.

  • @notaras1985
    @notaras1985 หลายเดือนก่อน

    I don't get how filter works

  • @MightyJabroni
    @MightyJabroni หลายเดือนก่อน

    What about the temperature differential? I always read that tin with lead has a much lower melting point, which means less heat put on the boards and on the components. Is this still dramatically different or is the difference negligible by now?

  • @Yaqoobali-qi7wo
    @Yaqoobali-qi7wo หลายเดือนก่อน

    hello sir please help me

  • @Yaqoobali-qi7wo
    @Yaqoobali-qi7wo หลายเดือนก่อน

    Hello Sir help me

  • @Yaqoobali-qi7wo
    @Yaqoobali-qi7wo หลายเดือนก่อน

    Hello please help me ❤

  • @Yaqoobali-qi7wo
    @Yaqoobali-qi7wo หลายเดือนก่อน

    Hello please help me ❤

  • @Yaqoobali-qi7wo
    @Yaqoobali-qi7wo หลายเดือนก่อน

    Hello please help me ❤

  • @Arick_Lee
    @Arick_Lee หลายเดือนก่อน

    I think I see the...¿Miscommunication?...what if thier "system" can only do plain alpha-numeric..so they were forced to use the lower case "m"..but they mean microAmp hours😂🤷‍♂ because they can't print µ .🙄😏

  • @sdjnwhyNZ
    @sdjnwhyNZ หลายเดือนก่อน

    Lead free solder will oxidise rightaway after the heat removed and it will be hard to remelt. So it's pretty much a one-shot product not allowing any mistakes. But most of lead-free soldering wire doesn't require flux on the working surface since it has flux core.

  • @codebeat4192
    @codebeat4192 หลายเดือนก่อน

    These modules are also excellent to listen to doorbells (sender) or to activate doorbells (listener). ;-) With these you can combine different models or brands and use only one doorbell knob (sender) to trigger all doorbells by sending all the codes required. Using RF switches (listener), it is possible to activate or deactivate lights or other equipment remotely from your arduino.

  • @port-forwarding
    @port-forwarding หลายเดือนก่อน

    ok can i touch you now

  • @ShibraTai
    @ShibraTai หลายเดือนก่อน

    What if the token gets leaked....if a person has the token he/she would be able to hit the api

    • @imissthestacy4803
      @imissthestacy4803 8 วันที่ผ่านมา

      It would indeed be stolen and used to access api but then expired, as a dev you'd better to protect from this theft rather then figuring out how to stop a stolen one, use http only cookies secure https connection

  • @edwingramba8743
    @edwingramba8743 หลายเดือนก่อน

    Great stats and video. Thank you.

  • @edwingramba8743
    @edwingramba8743 หลายเดือนก่อน

    I bought some on Lazada, in Thailand at 0.16 cents usd per new battery. They are real, chep Chinese batteries, but at this price... I don't know how they can even make them.

  • @StephenMattison66
    @StephenMattison66 หลายเดือนก่อน

    This looks GREAT! Excellent video, ty! I have a unique system need for a super low-power self-reading weather station in a remotely placed camera housing, it cannot have any external communication & must be fully self sufficient. I love the ePaper for low power draw, I need the computer to read an EXTERNAL (outside the camera housing via wires) thermometer & hygrometer readings (every 10-20 seconds?) to calculate the very accurate dew point. I then need the computer to read a separate INTERNAL (Inside the camera housing) thermometer, and then I need the computer to control a relay that sends 3A-4A 12V to my internal heat strips to turn them ON & OFF so that my glass window remains "5 degrees" above the current dew point. I need to be able to adjust the "Degrees above Dew point" to fine tune the system for various conditions & locations. I'd also love to be able to control the time of day or night that the system is allowed to heat my window. I am trying to prolong the life of my battery as long as possible as I will not be able to even go check on the camera for days or weeks at a time. I'd like to eventually extend this to months. Any advice? tyvm

    • @DigitalConfusion1
      @DigitalConfusion1 18 วันที่ผ่านมา

      Please get another hobby. Try legos or a puzzle.

  • @user-ru3jc8tf1x
    @user-ru3jc8tf1x หลายเดือนก่อน

    can you show en example of how to use the MIT. where do i add the copy right

  • @brunogarcete1836
    @brunogarcete1836 หลายเดือนก่อน

    you helped me, thank man.

  • @babygoat3969
    @babygoat3969 หลายเดือนก่อน

    Could you explain anything without repeating your self I only got gplv3 brunt into my brian so unhelpful

  • @lewissheridan
    @lewissheridan 2 หลายเดือนก่อน

    Best and clearest explanation that makes sense! Just what I wanted to know 👍

  • @redhawk3385
    @redhawk3385 2 หลายเดือนก่อน

    This is a really good video on this topic

  • @santiagomedina6141
    @santiagomedina6141 2 หลายเดือนก่อน

    Thanks you just saved me from spending more money on new transmiter, I just had to get a bigger antena for it HAHHAH

  • @sarahbartsch6729
    @sarahbartsch6729 2 หลายเดือนก่อน

    Thank you for the vid. Tried all of your steps but my problem prevailes.

  • @pascualpalacios7099
    @pascualpalacios7099 2 หลายเดือนก่อน

    Hello, do you have any clock circuit with the esp8266 7-segment displays that shows the temperature with the ds18b20 sensor?

  • @511Burak
    @511Burak 2 หลายเดือนก่อน

    Great Video! Can you explain a little bit more how to connect a LiPo Battery to ESP32? That will be great. Thank you

  • @luminousfractal420
    @luminousfractal420 2 หลายเดือนก่อน

    silver solder i picked up is horrible 😂 can barely melt it for more than half a second using a 500c iron. despite the masses of specific flux, it prefers to fly away from what your soldering rather than attach. having not much luck.

  • @soundspark
    @soundspark 2 หลายเดือนก่อน

    I'm personally reaching the end of a roll of SAC305; does anyone have a suggestion for any better alloys for lead free?

  • @rameshvallabh899
    @rameshvallabh899 2 หลายเดือนก่อน

    Lid it back soon after dipping the brush and taking it out and apply it soon b4 gets evoporated?

  • @mikedodds1227
    @mikedodds1227 3 หลายเดือนก่อน

    This video and supplies code was very helpful to me. Thanks!

  • @guidoprickartz5677
    @guidoprickartz5677 3 หลายเดือนก่อน

    Hello,nice video.With soldering acid,you will damage the nickel plating of your soldering tip.Sanding works also,and regular electronik flux(colophonium) works fine. Best regards

  • @SSoup64
    @SSoup64 3 หลายเดือนก่อน

    Thank you dude.

  • @chrishall4012
    @chrishall4012 3 หลายเดือนก่อน

    Hey I know this is kind of an old video but I have a questionand sorry if it seems stupid but I know nothing about this. Im big into rockets and I was wondering could you hook up extra wires coming off the receiver to a fuse to iqnite the thermite in the rocket engine with current?

  • @skrame01
    @skrame01 3 หลายเดือนก่อน

    Shouldnt make a video about something you can't even pronounce. Lead is pronounced like the word "let" only with a d at the end.

    • @sigilbaram
      @sigilbaram หลายเดือนก่อน

      Be impressed that someone from another country learned such fluent English in the first place and thankful for the informative content rather than judging them on an easy to make pronunciation mistake. Could at least be nicer while still letting them know their mistake... English is one of the harder languages to learn as it has such inconsistent "rules", including heteronyms like lead vs lead, which are much rarer in most languages (with some exceptions like Japanese and Chinese, which are also among the harder languages to learn).

  • @RianHidayat-cz7yi
    @RianHidayat-cz7yi 3 หลายเดือนก่อน

    hi pawel, I cant believe meeting you here outside INAV ! you are legend! he made a very competitive autopilot in a RC plane model guys, the smartest guy Ive ever met on the internet!

  • @davidrichardsswbcmortgage
    @davidrichardsswbcmortgage 3 หลายเดือนก่อน

    Thanks perfect.

  • @utube321piotr
    @utube321piotr 3 หลายเดือนก่อน

    Great video, very informative. Curious to know the relative differences in electrical conductivity of such soldered joints.

  • @ichbin-bp3oh
    @ichbin-bp3oh 3 หลายเดือนก่อน

    Solderingpoints with lead is beautiful. I like it more to solder with lead because its shiny. (It smells good too)

  • @francoisBonin-phils
    @francoisBonin-phils 3 หลายเดือนก่อน

    you can clearly see , that the drop of soldering lead on the battery with the first try , is already well attached , no need of acid !!!