commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brit...@apache.org
Subject [1/3] commons-crypto git commit: Add FAQ page
Date Sat, 26 Nov 2016 11:48:03 GMT
Repository: commons-crypto
Updated Branches:
  refs/heads/master 44301e06c -> 632f1feed


Add FAQ page


Project: http://git-wip-us.apache.org/repos/asf/commons-crypto/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-crypto/commit/d11db423
Tree: http://git-wip-us.apache.org/repos/asf/commons-crypto/tree/d11db423
Diff: http://git-wip-us.apache.org/repos/asf/commons-crypto/diff/d11db423

Branch: refs/heads/master
Commit: d11db42306bec6be5dfc659a66e47941d28955bd
Parents: 9c0a452
Author: Benedikt Ritter <beneritter@gmail.com>
Authored: Sat Nov 26 10:08:49 2016 +0100
Committer: Benedikt Ritter <beneritter@gmail.com>
Committed: Sat Nov 26 10:08:49 2016 +0100

----------------------------------------------------------------------
 src/site/xdoc/faq.xml | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-crypto/blob/d11db423/src/site/xdoc/faq.xml
----------------------------------------------------------------------
diff --git a/src/site/xdoc/faq.xml b/src/site/xdoc/faq.xml
new file mode 100644
index 0000000..64f5f57
--- /dev/null
+++ b/src/site/xdoc/faq.xml
@@ -0,0 +1,34 @@
+<?xml version="1.0"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+
+<document>
+  <properties>
+    <title>Apache Commons Crypto: FAQ</title>
+  </properties>
+
+  <body>
+
+    <section name="How to use a custom secret generator?">
+      Commons Crypto provides the <code>CryptoRandom</code> interface for defining
secret generators.
+
+      props.setProperty(CryptoRandomFactory.CLASSES_KEY, CryptoRandomFactory.RandomProvider.JAVA.getClassName());
+      CryptoRandom random = CryptoRandomFactory.getCryptoRandom(props);
+
+    </section>
+  </body>
+</document>


Mime
View raw message