Latest thoughts

Sign jar file from jks file

How to sign a jar file from your *.jks file

First, generate a RSA key for signing Second, sign the jar with jarsigner You can ignore : “warning : POSIX file permission and/or symlink attributes detected. These attributes are ignored when signing and are not protected by the signature.”

Read More →
aes ecb encryption with padding

AES ECB encryption with padding and no padding in java language.

Hello there! When working with AES encryption in Java, one important thing to understand is how AES handles input length, especially when using ECB mode with padding and no padding. AES is a block cipher, which means it encrypts data in fixed-size blocks. For AES, the block size is always 16 bytes. Because of this, the input data must fit into […]

Read More →
javax persistence doesnt exist

Error : javax.persistence.* doesn’t exists.. 

My Old code was 2.5.3, when I tried to migrate to springboot 3.2.4 it said….”can not resolve symbol persistence”. So I tried to replace javax to jakarta, and viola! The error has been disappeared! Reference : https://jakarta.ee/blogs/javax-jakartaee-namespace-ecosystem-progress

Read More →
Hello world

Hello world!

Welcome to Sandy’s note. This is my first post! it’s been a long time that i desired to have a personal blog for my formal/informal life journey. I did plan to have this personal blog/notes since 2011 ☺️ So, its better late than never, isn’t it? Hehe 😀

Read More →