Just Facts


Tag: Tech

Recommend Two Services

FastMail & LastPass

Some time ago, I migrated all my email services to FastMail. At the same time, the password management is also switched to LastPass. This article will introduce the motivation.


Using OpenSSL in Android

Taking HMAC-SHA256 as an example

Since Java is relatively easy to decompile, placing certain critical code inside .so files becomes a cost-effective choice. Although .so files can still be reverse-engineered, the barrier to analyzing them is significantly higher than that of analyzing Java bytecode. Many security-related implementations rely on OpenSSL, yet tutorials on using OpenSSL within the NDK are not commonly found online. After a day of experimentation, I finally managed to invoke OpenSSL from the NDK. This article uses the HMAC algorithm in OpenSSL as an example to demonstrate how to use OpenSSL in the NDK.


Notes on Digital Certificates and Public/Private Keys

I had always used ready-made TLS services and never paid much attention to the underlying details. Recently, when I needed to use RPC over TLS, I realized that understanding many concepts is necessary to use it correctly.


From Aliyun To AWS

The Annoying Aliyun Cloud Service

在國內,最流行的雲服務器應該是阿里雲了。在過去的幾個月裏,我陸續使用了超過10臺阿里雲的雲服務器(ECS),和阿里雲的關係型數據庫(RDS)。但這個過程並不令人滿意,特別是阿里雲ECS默認開啓的雲盾,其糟糕的產品設計,令人難以忍受。


中文Web Font

衆所周知,Google Fonts提供了非常多的英文字體,使得前端工程師們得以在網頁中輕鬆地使用豐富多彩的字體效果。

但中文字體卻沒這麼容易嵌入到互聯網……