Writing References
이 문서에선 문서 작성 시 규칙과 Material for MkDocs
의 자주 쓰이는 기능들에 대해서만 설명합니다.
기본적인 마크다운 문서 작성 방법은 이 링크에 설명이 잘 되어 있기 때문에 생략합니다.
더 많은 Material for MkDocs
사용법은 아래 링크에서 확인해주세요.
이 문서에선 문서 작성 시 규칙과 Material for MkDocs
의 자주 쓰이는 기능들에 대해서만 설명합니다.
기본적인 마크다운 문서 작성 방법은 이 링크에 설명이 잘 되어 있기 때문에 생략합니다.
더 많은 Material for MkDocs
사용법은 아래 링크에서 확인해주세요.
#!/bin/bash | |
# | |
# 2017. 08. 31 Written by Awesometic | |
# 2017. 09. 25 Updated | |
# 2018. 01. 17 Updated | |
# Split log file when the file size is bigger than 100 KB | |
# Remove unimportant comments | |
# Clean up the descriptions | |
# Clean up the codes | |
# Add datetime for each log |
/** Created by Awesometic | |
* references: https://gist.github.com/dealforest/1949873 | |
* This source is updated example code of above source code. | |
* I added it two functions that are make random IV and make random 256 bit key. | |
* It's encrypt returns Base64 encoded cipher, and also decrpyt for Base64 encoded Cipher | |
*/ | |
import android.util.Base64; | |
import javax.crypto.BadPaddingException; | |
import javax.crypto.Cipher; |
/** | |
* Created by Awesometic | |
* It's encrypt returns Base64 encoded, and also decrypt for Base64 encoded cipher | |
* references: http://stackoverflow.com/questions/12471999/rsa-encryption-decryption-in-android | |
*/ | |
import android.util.Base64; | |
import java.nio.charset.StandardCharsets; | |
import java.security.InvalidKeyException; | |
import java.security.KeyFactory; |
/** | |
* Created by Awesometic | |
* references: https://gist.github.com/ericchen/3081970 | |
* This source is updated example code of above source code. | |
* I added it two functions that are make random IV and make random 256 bit key. | |
* It's encrypt returns Base64 encoded cipher, and also decrpyt for Base64 encoded Cipher | |
*/ | |
var crypto = require('crypto'); |
/** | |
* Created by Awesometic | |
* references: https://github.com/rzcoder/node-rsa | |
* RSA encryption example for Node.js with node-rsa. It's encrpyt returns Base64 encoded cipher, also decrypt for Base64 encoded cipher. RSA public key be returned in PKCS8 format. | |
* License for node-rsa | |
Copyright (c) 2014 rzcoder<br/> | |
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | |
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. |