From c4f271a27527dc1f65b4601db16d45468830ef6e Mon Sep 17 00:00:00 2001
From: Thai Duong <thaidn@google.com>
Date: Mon, 2 Oct 2017 16:49:52 -0700
Subject: [PATCH] Making headers in Java-HOWTO linkable.

Also fixing a small typo in README.

Change-Id: I9c63f12e7f73488cd8acef2011f9c91181770f2d
ORIGINAL_AUTHOR=Thai Duong <thaidn@google.com>
GitOrigin-RevId: eab43f5125abef1bc60eaa0b47f0c5b6d291b884
---
 README.md         |  3 +--
 doc/JAVA-HOWTO.md | 10 +++++-----
 2 files changed, 6 insertions(+), 7 deletions(-)

diff --git a/README.md b/README.md
index 83056a144..c8df727b0 100644
--- a/README.md
+++ b/README.md
@@ -59,8 +59,7 @@ development.
 
 **TIP** The easiest way to get started with Tink is to install
 [Bazel](https://docs.bazel.build/versions/master/install.html), then build, run
-and study the [`hello world samples`]
-(https://github.com/google/tink/tree/master/examples/helloworld).
+and study the [`hello world samples`](https://github.com/google/tink/tree/master/examples/helloworld).
 
 Tink performs cryptographic tasks via so-called [primitives](doc/PRIMITIVES.md),
 each of which is defined via a corresponding interface that specifies the
diff --git a/doc/JAVA-HOWTO.md b/doc/JAVA-HOWTO.md
index 6013e7bc9..c05bc8800 100644
--- a/doc/JAVA-HOWTO.md
+++ b/doc/JAVA-HOWTO.md
@@ -223,7 +223,7 @@ Tink user accesses implementations of a primitive via a factory that corresponds
 to the primitive: AEAD via `AeadFactory`, MAC via `MacFactory`, etc. where each
 factory offers corresponding `getPrimitive(...)` methods.
 
-**Symmetric Key Encryption**
+### Symmetric Key Encryption
 
 Here is how you can obtain and use an [AEAD (Authenticated Encryption with
 Associated
@@ -247,7 +247,7 @@ to encrypt or decrypt data:
     byte[] ciphertext = aead.encrypt(plaintext, aad);
 ```
 
-**Message Authentication Code**
+### Message Authentication Code
 
 Or to compute or verify a [MAC (Message Authentication
 Code)](doc/PRIMITIVES.md#message-authentication-code):
@@ -272,7 +272,7 @@ Code)](doc/PRIMITIVES.md#message-authentication-code):
     mac.verifyMac(tag, data);
 ```
 
-**Digitial Signatures**
+### Digitial Signatures
 
 Or to sign or verify a [digital
 signature](doc/PRIMITIVES.md#digital-signatures):
@@ -312,7 +312,7 @@ signature](doc/PRIMITIVES.md#digital-signatures):
     verifier.verify(signature, data);
 ```
 
-**Hybrid Encryption**
+### Hybrid Encryption
 
 Or to encrypt or decrypt using [a combination of public key encryption and
 symmetric key encryption](doc/PRIMITIVES.md#hybrid-encryption):
@@ -352,7 +352,7 @@ symmetric key encryption](doc/PRIMITIVES.md#hybrid-encryption):
     byte[] plaintext = hybridDecrypt.decrypt(ciphertext, contextInfo);
 ```
 
-**Envelope Encryption**
+### Envelope Encryption
 
 Via the AEAD interface, Tink supports
 [envelope](http://docs.aws.amazon.com/kms/latest/developerguide/workflow.html)
-- 
GitLab